Age | Commit message (Collapse) | Author |
|
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).
|
|
|
|
- do not try to attempt to check for conflict markers when the file is not on disk.
found by and okay reyk@
|
|
suggested by deraadt@, ok joris@
|
|
ok joris@
|
|
we let the commands pass the correct function.
all in preparation for remote.
|
|
|
|
|
|
except it takes a decriptor as argument instead of a path.
modified cvs_buf_load() to open the descriptor then pass
it to cvs_buf_load_fd().
change all the calls to cvs_buf_load() that have a descriptor
open for the path to cvs_buf_load_fd() to prevent races.
|
|
-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.
|
|
hacking on the plane from toronto to barbados.
i will probably hack some more since im stuck in barbados
for 12 lovely hours over night cause the carribean airlines dont understand
the meaning over 'more than one flight a day'.
|
|
export does exactly the same as checkout except it does
not create any administrative (CVS/) directories.
|
|
for each cvs_file struct, this will help us with sticky tags,
commiting to branches and importing into existing repositories.
|
|
- default to CVS_FILE when something is totally unknown
- cvs_get_repository_path() now returns the full repository path for
the given argument.
- cvs_get_repository_name() returns the contents of CVS/Repository
to the caller.
- allow command callbacks to specify if our recursion code needs
to skip the directory or not.
- when checking for a admin directory, make sure it is in fact
a directory. if it is not we dont want to recurse inside.
|
|
if the commands want to output certain stuff themselfs
|
|
has been modified by yourself and there is a newer revision
we try and merge them together.
if the merge fails and has conflicts it will mark them inside
the file, you will need to resolve these by hand first before
you will be able to commit your modified file.
works transparent with gnu cvs, as it is suppose to.
|
|
|
|
if you specify -d when running update new directories will be build,
otherwise they will be skipped.
|
|
about any new files or directories inside the repository
|
|
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.
|
|
no binary change; ok ray
|
|
|
|
|
|
commands; fixes rcsmerge -q behaviour. OK niallo@ ray@.
|
|
|
|
NULL pointer conditions and also removes some obsolete extra checks.
ok joris@
|
|
ok joris@
|
|
|
|
|
|
makes the code a lot more readable and understandable.
ok xsa@ and niallo@
|
|
|
|
If you 'vi file.c' and change stuff, then 'make depend && make' you'll
have a file.o file most definately more recent than the latest committed
version of file.c.
Then, if you rm file.c, and cvs update file.c, if 'file.c' is set to the
timestamp of the last committed version, a subsequent 'make' will not
rebuild the .o file.
to fix this we simply use the current timestamp when updating files.
thanks todd@!
|
|
|
|
- checkout in local mode (example: /cvs)
- update in local and server mode (example: /cvs and user@host:/cvs)
- import in local and server mode (example: /cvs and user@host:/cvs)
what remains to be done:
- not all options are supported yet, and update cannot pick up newly
added files yet. these things are pending and will be commited
real soon.
- checkout only works locally right now.
- fix rcs parsing code so that we don't fucking hog 100% cpu
on really BIG BIG BIG ass trees.
mainly tested by pedro@ and myself, thanks a lot pedro!
"go for it" niallo@
|
|
|
|
|
|
|
|
a mess and not clean.
this code is much cleaner, faster, and uses less memory overall.
tested by xsa@, brad@, Michael Knudsen, and myself.
okay xsa@
|
|
|
|
|
|
from deraadt@
|
|
one that looks if CVSFILE is a directory, so we get a correct output
of unknown files in server mode.
discussed with and ok xsa@
|
|
ok xsa@
|
|
- handle -k
- handle -D and send it to server
ok joris
|
|
|
|
backout my previous change + spotted another case in the annotate
command...
ok joris@
|
|
|
|
okay jfb@
|