summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/co.c
AgeCommit message (Expand)Author
2010-07-30Check date_parse return values.Ray Lai
2010-07-28Make BUFs autoextend by default. This was already done in OpenCVSRay Lai
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
2009-02-25Checking if a file is ASCII should only be done when diffing, becauseRay Lai
2007-07-03Rename rcs_diffreg() to diffreg().Ray Lai
2007-06-30Sync revisions and time buffers size to be consistent with each others.Xavier Santolaria
2007-06-08If strict locking is disabled, make file writable by owner on checkout.Xavier Santolaria
2007-06-07Correct exit value when one of the files specified cannot be checked out.Xavier Santolaria
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-02-22If a ,suffix file is given as an arg to ci and co, strip it. AvoidsOtto Moerbeek
2007-02-21make sure checkout_rev() sets correct file permissions via file->rf_modeNiall O'Higgins
2007-02-18keep correct permissions on the RCS file when locking/unlocking the fileXavier Santolaria
2007-02-01When checking to see if a checked-out copy of the file is the sameTodd C. Miller
2006-11-10Unlike GNU rcs, our co will not overwrite an existing file, evenTodd C. Miller
2006-11-09Simplify stripping of write bits from file mode.Todd C. Miller
2006-10-12- convert some warnx() to warn(), which fixes a few stupidly un-informative e...Niall O'Higgins
2006-08-07More strlcpy/strlcat -> snprintf/xasprintf cleanup.Ray Lai
2006-08-01Reduce rcs_buf_release() usage, improving binary support.Ray Lai
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
2006-05-28Remove a lot of xstrdup() calls in getopt() loops, which are usuallyRay Lai
2006-05-27Rename RCSFILE.fd to RCSFILE.rf_fd, plus minor spacing nits. NoRay Lai
2006-05-27Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),Ray Lai
2006-05-17fix printf'sXavier Santolaria
2006-05-11fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-09Remove /* NOTREACHED */ comments, now that lint is smart aboutRay Lai
2006-05-05o GNU ci returns 0 when a file is reverted (co -l file; ci file).Ray Lai
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
2006-04-26prevent file races by obtaining an fd for the RCS file andJoris Vink
2006-04-26fork our code we shared between openrcs/cvs into the openrcs dir.Joris Vink
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-21move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner;Xavier 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-15Plug some memory leaks; ok niallo@Patrick Latifi
2006-04-14excessive addition to brackets is a mental disease. you will goTheo de Raadt
2006-04-13correctly handle RCS files without any revisions;Joris Vink
2006-04-13*** empty log message ***Ray Lai
2006-04-12spacesTheo de Raadt
2006-04-12Clean up <rev> handling. Whenever a revision is specified after aRay Lai
2006-04-10change rcs_kwexp_set() return type to void and simplify its use. OK niallo@.Xavier Santolaria
2006-04-09- don't print out warnings about locking when they are actually wrong andNiall O'Higgins
2006-04-06-z can take no argument.Xavier Santolaria
2006-03-30first part of supporting branches in openrcs. right now we can onlyJoris Vink
2006-03-29More closely matches GNU behavior, passes more GNU rcstest tests.Ray Lai
2006-03-27- properly implement GNU file modes. basically, checkout will inheritNiall O'Higgins
2006-03-24Allow the -x flag to be used without an extension.Ray Lai
2006-03-17- co usage() says we support -I, so set the flags and revision.Niall O'Higgins
2006-03-16- checkout_rev() can fail, in which case we want a non-zero exit code.Niall O'Higgins