| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
so that we do keyword expansion on-the-fly if required instead
of obtaining the revision in memory first, running over the revision
lines while expanding keywords and only then writing them to the fd
or memory buffer.
this drasticly decreases cpu usage by opencvs on very large trees (like src).
OK niallo@
|
|
|
|
|
|
|
|
|
| |
reduced memory usage. note that only checkout has been fully converted to use the new high-performance
functions. other codepaths (e.g. update) still use the old method which is provided for backwards
compatibility. we can convert the remaining slow bits over to the new api piece-by-piece.
"commit this, now" joris@
brad@ tested, too.
|
| |
|
|
|
|
|
|
|
| |
do not connect to the remote server until we are sure all the options
passed to the commands are valid.
noticed by xsa@
|
|
|
|
|
|
|
| |
always set the temporary file to mode 600, which is already done
by mkstemp().
OK joris@ and xsa@ over a month ago.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
although i advise against using it on real development trees for now.
only a few commands work right so far:
- commit
- diff
- status
- log
- update (partially working)
if you feel like testing remote and run into bugs feel free to
contact me, and please include a full trace (-t).
|
| |
|
|
|
|
|
|
| |
we let the commands pass the correct function.
all in preparation for remote.
|
|
|
|
| |
spotted by xsa@ a few days ago
|
| |
|
| |
|
| |
|
|
|
|
| |
and fuzzie inside.
|
|
|
|
|
|
| |
the file we have on disk as the second thing to diff to.
fixes some output issues.
|
| |
|
|
|
|
|
| |
for each cvs_file struct, this will help us with sticky tags,
commiting to branches and importing into existing repositories.
|
|
|
|
| |
a translation function.
|
|
|
|
| |
if the commands want to output certain stuff themselfs
|
| |
|
| |
|
|
|
|
| |
otherwise we might end up with chunks that are totally wrong.
|
|
|
|
|
|
|
| |
specified certain commands will not recurse into directories.
at the same time introduce a method of specifying wether or not
a command should look in the repository for files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
this for the past 2 weeks now and it should go in at
the start of the hackathon so others can help out.
this code is a lot safer, smarter, faster and best of
all it is actually doing what it is suppose to do!
basic checkout, update, status, diff and commit are
working in local mode only.
there is no support for any remote setups now.
|
|
|
|
|
|
|
|
|
|
| |
- show magic branches in rlog (thanks for that nicer hack niall).
- correct output in rcsdiff, so we perfectly match gnu's
all these bugs were found by sturm@ while he was using cvsweb
(which uses the RCS tools).
"it is in my view that you should put it in" niallo@
|
|
|
|
| |
no binary change; ok ray
|
|
|
|
| |
OK xsa@
|
|
|
|
|
|
| |
use xcalloc and xstrdup where appropriate, and other stuff.
OK joris@
|
|
|
|
| |
ok niallo@
|
|
|
|
|
|
|
| |
asprintf -> xasprintf
Remove asprintf check, which was non-portable anyway.
``okidoki'' xsa@
|
|
|
|
|
|
|
| |
- Sync xmalloc.? with ssh versions.
- Change all xrealloc() calls to new API.
``I really like this.'' niallo@
|
|
|
|
|
|
|
|
|
| |
changed to division, KNF, replace unreachable code with goto fail,
et cetera. Found by lint.
The free() -> xfree() as well.
OK niallo@
|
|
|
|
|
|
|
|
|
| |
Found by lint.
Compare char * variables against NULL for consistency and add
parentheses around complicated comparisons, suggested by xsa@.
OK xsa@
|
|
|
|
| |
OK niallo@.
|
|
|
|
| |
From: Ray Lai <ray@cyth.net> in PR#5038
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- make cvs_log_init() return type void.
ok joris@.
|
| |
|
|
|
|
|
|
| |
makes the code a lot more readable and understandable.
ok xsa@ and niallo@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
time ago, but we were being held back by jfb. too bad for him.
next step is to use fatal() through out the code for unrecoverable
errors instead of trying to be all nice and fluffy and reach main() again.
ok niallo@ and xsa@
|
| |
|
|
|
|
|
|
| |
that the date is set correctly.
ok joris@
|
|
|
|
|
|
| |
this was a long standing bug, and the fix is hilarious.
ok joris@
|
| |
|
|
|
|
|
| |
- minor knf
niallo ok
|
| |
|
| |
|