Age | Commit message (Collapse) | Author |
|
|
|
things. now gcc -Wall and lint are more happy. ok joris@ xsa@
|
|
ignored. ok xsa@ joris@
|
|
file and then rename. Avoids inter-filesystem copy and fixes a
potential rcs file truncation when the target fileystem becomes full.
While there, use fchmod instead of chmod. ok xsa@ joris@
|
|
|
|
- do not let the file keyword expension options (-k) disappear
from the Entries file when doing a commit/update/checkout
- be sure the expension mode gets written to the RCS file when a file
is added/committed in the first place
problems raised by otto@; tests/ok otto@ and joris@.
|
|
not mistakenly see a file as Modified while it is not.
As a result, we can remove the very hackish cvs_hack_time() and
GNU cvs and opencvs should almost get along now.
lotsa help and okay The otto@
|
|
niallo@
|
|
ok joris@
|
|
tested & found brad@
|
|
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@
|
|
discussed with niallo@
|
|
and caused opencvs to crash so revert, oops?
|
|
- correclty use cvs_tagname, so that the tag from $CVSROOT/config
will actually be expanded as a keyword.
|
|
in some places and much
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.
|
|
ok niallo@
|
|
adding/importing binary files now works too
partially taken from openrcs
|
|
all files were ascii,
which broke things in real-world usage. now a checkout of src should work, albeit using lots of
memory and cpu. fixing this is the next step.
testing by many.
ok & some input joris@
|
|
ok joris@ ray@
|
|
ok joris@ ray@
|
|
ok joris@ ray@
|
|
ok ray@
|
|
Add missing checks for EOF when parsing rcs file sections.
by millert@
|
|
OK niallo@
|
|
|
|
always set the temporary file to mode 600, which is already done
by mkstemp().
OK joris@ and xsa@ over a month ago.
|
|
|
|
-D allows you to update a file to matching a specified date:
opencvs up -D "1 hour ago" foobar will take the first matching
revision that was commited 1 hour ago.
|
|
on the branches list does not match the one we are
looking for, it might be further down.
|
|
|
|
- rework rcs_getrev() to correctly support branches
- rework rcs_translate_tag() to correctly translate given symbols or
branches into their matching revisions
- rework rcs_rev_add() to correctly update its 'next' pointers
and insert the new revision in the correct place on the list.
- rework rcs_head_get() to return the latest revision on the default
branch if it has been set or the normal HEAD revision otherwise.
- no longer access the rf_head member of the RCSFILE struct manually,
use the rcs_head_get() function which correctly returns the HEAD
revision, there might be a default branch that has to be used.
- for now, when commiting a new revision reset the default branch.
|
|
export does exactly the same as checkout except it does
not create any administrative (CVS/) directories.
|
|
allows us to completely use branches for diffing, logging,
updating, etc..
more branches support coming up!
|
|
in the normal repository, and a way to identify an RCS file in
the Attic in the RCSFILE struct.
will come in handy later on.
|
|
revision or symbol given to us on the command line into
the matching revision in the RCS file (if any);
|
|
if an RCSFILE is dead, will come in usefull later in commands.
|
|
'umask' keyword right now.
|
|
|
|
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.
|
|
increased and thus no progress could be made in the loop.
bug noticed in rcsdiff(1) by sturm@
ok joris@
|
|
|
|
|
|
no binary change; ok ray
|
|
Remove unused variables found by lint.
Some parts OK xsa@, ``throw it in :)'' joris@
|
|
-o allows users to delete revisions in the specified RCS files.
example:
rcs -o1.4:1.6 foo deletes revisions 1.4 - 1.6
rcs -o1.3 foo deletes revision 1.3
joint work with niallo@
okay niallo@
|
|
when he yanked the code out of rcs.c and placed it in rcstime.c.
struct tm ltb, *tb;
tb = <b;
return (tb);
isn't really the most perfect idiom to return a value to the caller, now is it?
as a bonus -z for rlog now works too.
okay niallo@
|
|
Save 2 bytes of newlines.
OK joris@
|
|
|
|
|
|
use xcalloc and xstrdup where appropriate, and other stuff.
OK joris@
|