summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Collapse)Author
2006-01-25add support for `-l[lockers]'. Some (needed) cleanup will follow.Xavier Santolaria
Test & OK niallo@.
2006-01-25snprintf() cleanup; OK niallo@.Xavier Santolaria
2006-01-24print locker's name if revision is locked;Xavier Santolaria
2006-01-23display usage if an unknown option is specified;Xavier Santolaria
2006-01-23add support for `-sstates' and `-w[logins]' options; tested and OK niallo@.Xavier Santolaria
2006-01-20typos in comments;Xavier Santolaria
2006-01-06typos;Xavier Santolaria
2006-01-05cleanup, 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- rlog(1) needs RCS_PARSE_FULLY too.Niall O'Higgins
2005-12-27- implement lazy-parsing of rcs files, that is only parse as much as weNiall 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-24error 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-23support co -d, which checks out the first revision who'sJoris Vink
date is less than or equal to the given date.
2005-12-21Initialize basepath right after xmalloc()ing it so we won't end up withAleksander Piotrowski
not NUL-terminated buffer passed to strlcat() ok joris@
2005-12-21use fatal();Xavier Santolaria
2005-12-20spread the use of fatal();Xavier Santolaria
2005-12-19use fatal() if getlogin() fails;Xavier Santolaria
2005-12-14correct usage();Xavier Santolaria
2005-12-14document `-I' and `-sstate[:rev]';Xavier Santolaria
2005-12-12- sync usage() for `-tfile|str'Xavier Santolaria
- nuke trailing whitespace
2005-12-12be consistent w/ `-tfile|str' documentation (cf. rcs.1);Xavier Santolaria
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris 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-10- its wrong to use exit() here; return instead.Niall O'Higgins
ok joris@
2005-12-09don't complain too often about 'redefinition of revision number',Joris Vink
specially when rev is actually NULL.
2005-12-09if we are removing a lock that's not present, just checkJoris Vink
out the file without complaining;
2005-12-09unused vars, my bad;Joris Vink
2005-12-08complete and correct rcs locking functionality,Joris Vink
it was only done partially and as a bonus, completely wrong. seriously guys what was up with that?
2005-12-06knf; spaces vs. tabs;Xavier Santolaria
2005-12-05hrmz..Xavier Santolaria
2005-12-05ooops, missed that in previous commit; unbreak;Xavier Santolaria
2005-12-05correctly handle `-wfoo' and `-sbar' errors; OK joris@.Xavier Santolaria
2005-12-05kill unused var;Xavier Santolaria
2005-12-03- whoops, its -t-string or -tfile, not the other way aroundNiall O'Higgins
- sync checkin_usage() with reality
2005-12-03- document `-t' option.Niall O'Higgins
2005-12-03- add support for -t[description] and -t-[file containing description]Niall O'Higgins
2005-12-02document `-orev';Xavier Santolaria
2005-12-02in checkin_checklock()Xavier Santolaria
- make it work as expected (e.g. when no lock set at all too) - add missing word in error message - minor knf
2005-12-02better..Xavier Santolaria
2005-12-02in checkin_update():Xavier Santolaria
- move up the lock check - better error message if a specified rev is too low OK niallo@.
2005-12-02`-mmsg' does not belong here;Xavier Santolaria
2005-12-02sort options; `T' comes before `u';Xavier Santolaria
2005-12-02document `-r[revs]';Xavier Santolaria
2005-12-02split the printing part into a separate function, rlog_rev_print();Xavier Santolaria
might be useful for future work needed in rlog(1);
2005-12-02- fix up checkin_choose_rcsfile() to give us a path like the one GNU print,Niall O'Higgins
instead of always returning an absolute path. ok joris@
2005-12-02- fix a typo in a commentNiall O'Higgins
2005-12-01- fix up context and unified diff output in both open rcs and open cvs soNiall O'Higgins
that the date is set correctly. ok joris@
2005-12-01link rcsintro.7;Xavier Santolaria
2005-12-01some more bite; writing about rcsdiff(1); OK jmc@.Xavier Santolaria
2005-11-30check for ownership of already present writable file when checking out;Xavier Santolaria