summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
AgeCommit message (Expand)Author
2006-04-26fork our code we shared between openrcs/cvs into the openrcs dir.Joris Vink
2006-04-25quote strings consistently.Xavier Santolaria
2006-04-25fatal() -> err()/errx() as we try to not depend on heavy cvs_log().Xavier Santolaria
2006-04-24be consistent in error messages for wrongly specified keyword substitutionXavier Santolaria
2006-04-24o Better match GNU behavior (a bare -t does NOT read from stdin,Ray Lai
2006-04-21move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner;Xavier Santolaria
2006-04-21match former rcs implementation warning message if no options areXavier Santolaria
2006-04-21remove overkill cvs_log() and rather use warn()/warnx().Xavier Santolaria
2006-04-21switch -p handling to bitwise flags; OK ray@.Xavier Santolaria
2006-04-19switch -q handling to bitwise flags; OK ray@ niallo@.Xavier Santolaria
2006-04-18Combine code to prompt user for input into a shared function,Ray Lai
2006-04-18Remove -h flag from rcs_getopt loop, which is not in GNU.Ray Lai
2006-04-17plug memory leak; OK ray@.Xavier Santolaria
2006-04-15dont stupidly duplicate code. make rlog use rcs_rev_select() and thusXavier Santolaria
2006-04-14- don't append the extension if it's already there (PR 5076).Joris Vink
2006-04-14excessive addition to brackets is a mental disease. you will goTheo de Raadt
2006-04-13add support for the openrcs -o'range' option.Joris Vink
2006-04-13clean up temporary files when we finish running.Joris Vink
2006-04-13*** empty log message ***Ray Lai
2006-04-12Better match GNU behavior for rcs -l and rcs -u.Ray Lai
2006-04-12Clean up <rev> handling. Whenever a revision is specified after aRay Lai
2006-04-11Don't rcs_close() before fatal(). After much hesitation, joris@Ray Lai
2006-04-10change rcs_kwexp_set() return type to void and simplify its use. OK niallo@.Xavier Santolaria
2006-04-07change rcs_set_mtime() return type to void.Xavier Santolaria
2006-04-06-z can take no argument.Xavier Santolaria
2006-04-01Add rcs -l, rcs -u, and regression tests.Ray Lai
2006-04-01Keep cvs flags in `flags', rcs flags in `rcsflags' in rcsprog.h.Ray Lai
2006-03-28shudup rcs_set_description(), so regress tests are happy too.Xavier Santolaria
2006-03-27- properly implement GNU file modes. basically, checkout will inheritNiall O'Higgins
2006-03-27Fix and clean up -t flag:Ray Lai
2006-03-27Changes:Ray Lai
2006-03-27Plug a memory leak for all cvs_strsplit call sites; ok xsa@Patrick Latifi
2006-03-24Allow the -x flag to be used without an extension.Ray Lai
2006-03-23use fatal() in rcs_lock_setmode(); OK ray@.Xavier Santolaria
2006-03-22Clean up xfree() usage in rcs_choosefile().Ray Lai
2006-03-21add support for `rcs -e[logins]'; "Looks good" ray@.Xavier Santolaria
2006-03-21Instead of duplicating rcs_suffixes and running strsep on it again,Ray Lai
2006-03-21Allow creation of an RCS file if RCS_CREATE flag set.Ray Lai
2006-03-20make `rcs -a' use cvs_strsplit() for easiness; OK joris@.Xavier Santolaria
2006-03-18+/* ARGSUSED */Ray Lai
2006-03-18strdup() -> xstrdup()Ray Lai
2006-03-16Follow exit() with /* NOTREACHED*/ for lint.Ray Lai
2006-03-16Simplify rcs_statfile() by having it call rcs_choosefile().Ray Lai
2006-03-15Move and rename checkin_choose_rcsfile() to rcs_choosefile().Ray Lai
2006-03-15Don't assume there is an RCS directory just because the filenameRay Lai
2006-03-14ci currently doesn't parse the -x flag at all, defaulting to ",v/" everyRay Lai
2006-03-14OpenRCS currently strips any text in a filename up to and includingRay Lai
2006-03-12plug a memleak in rcs_set_description()Joris Vink
2006-03-11Now that the last diff went in, we just have to remove some checks inNiall O'Higgins
2006-03-08make openrcs use the worklist framework to keep track of temporary filesJoris Vink