Age | Commit message (Collapse) | Author |
|
cvs_get_repository_name().
OK joris@
|
|
|
|
|
|
with this the last real dependency to actually be able to use opencvs
in a remote setup has been added.
based upon an initial diff from xsa@
'kay niallo@
|
|
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@
|
|
- zap unused argument to cvs_exec()
|
|
|
|
|
|
|
|
|
|
buf[strlen(buf) - 1] = something; misuse.
ok niallo@, cloder@
|
|
|
|
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).
|
|
|
|
|
|
files under some special circumstances. remove a bogus stat() check to
fix it.
ok joris@
|
|
for the import command.
|
|
but work is in progress for importing stuff into existing repositories.
|
|
|
|
a string given by the user on the command line, much like
rcs_revision_select in OpenRCS.
this will be usefull for some commands.
|
|
- 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.
|
|
|
|
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
|
|
use xcalloc and xstrdup where appropriate, and other stuff.
OK joris@
|
|
- Explicitly test for -1 from read(2) and write(2).
- Change negative parameters to 0 for rcsnum_cmp(). (I think xsa@ had
a patch for this earlier.)
- Remove unused variables.
- Changed return types to void if we only return one value.
- Fix possible one-character truncation in rcs_deltatext_set().
- Use memcpy() to copy u_char arrays.
- Use ptrdiff_t to hold pointer differences.
- int -> size_t for sizeof/strlen
``looks fine'' xsa@
|
|
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@
|
|
|
|
ok xsa@
|
|
by `cvs log' and some other RCS utilities. "Looks good" ray@.
|
|
function to be used by rcs.
|
|
|
|
|
|
|
|
|
|
ok xsa@
i'm commiting only hours after newyear,
ah the joys of being a true geek.
|
|
|
|
of the directory we just chdir'd to.
Useful when the function fails especially for the server mode and
its temporary directory. This way it's not left behind on exit.
ok joris@.
|
|
|
|
|
|
|
|
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@
|
|
now, when you checkout a tree with gnu cvs, opencvs no longer sees all
the files as modified, and visa versa.
this actually makes gnu cvs and opencvs dance together in working copies.
|
|
|
|
- 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@
|
|
|
|
"go for it" niallo@
|
|
|
|
CVS/Tag file. Sync the rest of the code accordingly; OK joris@.
|