Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-03-22 | Clean up xfree() usage in rcs_choosefile(). | Ray Lai | |
OK xsa@ | |||
2006-03-21 | add support for `rcs -e[logins]'; "Looks good" ray@. | Xavier Santolaria | |
2006-03-21 | Instead of duplicating rcs_suffixes and running strsep on it again, | Ray Lai | |
just use the previous suffixes. Since all slashes were replaced with NULs, reading `suffixes' will give the first extension. OK xsa@ | |||
2006-03-21 | Allow creation of an RCS file if RCS_CREATE flag set. | Ray Lai | |
OK xsa@ | |||
2006-03-20 | make `rcs -a' use cvs_strsplit() for easiness; OK joris@. | Xavier Santolaria | |
2006-03-18 | +/* ARGSUSED */ | Ray Lai | |
void sighdlr(int sig) OK niallo@ | |||
2006-03-18 | strdup() -> xstrdup() | Ray Lai | |
Okay xsa@ | |||
2006-03-16 | Follow exit() with /* NOTREACHED*/ for lint. | Ray Lai | |
``OK niallo@'' niallo@ | |||
2006-03-16 | Simplify rcs_statfile() by having it call rcs_choosefile(). | Ray Lai | |
ok xsa and niallo | |||
2006-03-15 | Move and rename checkin_choose_rcsfile() to rcs_choosefile(). | Ray Lai | |
ok joris | |||
2006-03-15 | Don't assume there is an RCS directory just because the filename | Ray Lai | |
contains the letters `RCS'. ok niallo | |||
2006-03-14 | ci currently doesn't parse the -x flag at all, defaulting to ",v/" every | Ray Lai | |
time. I rewrote checkin_choose_rcsfile() to handle it using these rules: - If a directory structure is given (ci -x,abcd dir/dir2/file) then all RCS files are under dir/dir2. - If the RCS/ directory exists, use it. Otherwise use current directory. - If the -x flag is specified, use those slash-separated extensions. Otherwise, use the default (",v/"). - Look in the rcs directory (RCS/ or current directory) for a file with a matching extension, for each extension. Each extension is tried in order. If a file exists, it is used. If no file exists with any extension, the first one is used. - The empty extension is treated as no extension, because I can't figure out what its special meaning is. It sounds complicated, and the code is kinda complicated as well, but it makes sense if you think about it. ok niallo | |||
2006-03-14 | OpenRCS currently strips any text in a filename up to and including | Ray Lai | |
the last comma, assuming that it is a `,v' extension. GNU RCS does not do this. This removes that check. ok niallo | |||
2006-03-12 | plug a memleak in rcs_set_description() | Joris Vink | |
okidoki niallo@ | |||
2006-03-11 | Now that the last diff went in, we just have to remove some checks in | Niall O'Higgins | |
rcs_set_rev() to get the GNU-like behaviour for ci -l0, ci -u0 etc (admittedly its weird behaviour...but hey, we should support it) ok joris@ | |||
2006-03-08 | make openrcs use the worklist framework to keep track of temporary files | Joris Vink | |
and remove them in case it gets interrupted. suggested by deraadt@, ok niallo@ | |||
2006-03-08 | spacing in usage(); | Xavier Santolaria | |
2006-03-06 | update usage(); | Jason McIntyre | |
2006-03-06 | move compat flags into a STANDARDS section; | Jason McIntyre | |
ok niallo xsa | |||
2006-03-06 | many spacing cleanups | Theo de Raadt | |
2006-02-21 | - fix some bugs when handling strange revision numbers (0 and 1). found by | Niall O'Higgins | |
my automatic tool. ok xsa@ | |||
2006-01-25 | snprintf() cleanup; OK niallo@. | Xavier Santolaria | |
2006-01-06 | typos; | Xavier Santolaria | |
2006-01-05 | cleanup, move log.h and rcs.h inclusion into rcsprog.h; | Xavier Santolaria | |
2006-01-02 | #include's cleanup; ok joris@ niallo@. | Xavier Santolaria | |
2005-12-27 | - implement lazy-parsing of rcs files, that is only parse as much as we | Niall O'Higgins | |
need. this can save us much work, particularly with very large rcs files. first of a few important performance improvements. ok joris@ | |||
2005-12-24 | error message consistency in fatal(); | Xavier Santolaria | |
2005-12-24 | - support for -n -N and -t; | Joris Vink | |
- check for path truncation; - do not pollute flags being passed to rcs_open() with local flags; - fix rcs initialization stuff; | |||
2005-12-21 | use fatal(); | Xavier Santolaria | |
2005-12-14 | correct usage(); | Xavier Santolaria | |
2005-12-10 | switch to xmalloc stuff, me and xsa@ agreed on this a long | Joris Vink | |
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@ | |||
2005-12-09 | don't complain too often about 'redefinition of revision number', | Joris Vink | |
specially when rev is actually NULL. | |||
2005-11-30 | `-ztz' is only here for compatibility; | Xavier Santolaria | |
2005-11-28 | sync usage() for `-xsuffixes'; | Xavier Santolaria | |
2005-11-27 | - fix really stupid bug introduced in the last xsa commit. | Niall O'Higgins | |
problem found by me, joris' eyes spotted the semi colon. | |||
2005-11-25 | add `-T' support for rcsclean(1) and rcs(1); | Xavier Santolaria | |
2005-11-25 | add support for `-T' and enable it for co(1); | Xavier Santolaria | |
tested and OK niallo@. "Looks good" joris@. | |||
2005-11-23 | initial bits for -T support; | Xavier Santolaria | |
2005-11-21 | enable `-xsuffixes' support as it has been added a few days ago | Xavier Santolaria | |
in rcs_statfile(); niallo ok | |||
2005-11-21 | - modularisation; split the two major checkin operations into functions. | Niall O'Higgins | |
- modularisation; split the revert code into checkin_revert() - a few steps closer to rcsfile initialisation, but things need to be fixed in the rcs.c api first (currently we segfault). - add a new checkin_choose_rcsfile() function to decide where the rcsfile should go. - add a special case for ci to rcs_statfile() so that we don't print out an error if the rcsfile doesn't exist. | |||
2005-11-21 | tweaks; | Xavier Santolaria | |
2005-11-20 | rcs_statfile() improvements; initial work from joris + some bits from me; | Xavier Santolaria | |
niallo ok | |||
2005-11-12 | - fix xsa breakage. char arrays on the stack are not NULL if empty. use | Niall O'Higgins | |
flags instead. - add a few more flags defines while i'm here. | |||
2005-11-12 | - remove strtab stuff. serves no useful purpose. | Niall O'Higgins | |
diff is from joris@, committing on his behalf because his net connection is very dodgy right now. | |||
2005-11-12 | support for `-Aoldfile'; joris ok | Xavier Santolaria | |
2005-11-04 | kill spaces in usage() to match Reality; | Xavier Santolaria | |
2005-11-03 | - minor KNF | Niall O'Higgins | |
2005-10-27 | TMPDIR support; joris ok | Xavier Santolaria | |
2005-10-19 | - make a bunch of changes to how we handle verbose output. this brings us | Niall O'Higgins | |
much closer in line with GNU RCS and cleans things up in general. ok joris@, "looks fine to me" xsa@ | |||
2005-10-19 | add co -p support; | Joris Vink | |
input from xsa@ and niallo@; |