summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2007-10-09Properly resolve branches, i.e. supplying branch base revision (e.g. 1.1.1)Tobias Stoeckmann
should resolve to latest branch revision (e.g. 1.1.1.1).
2007-10-09cvs import must not parse files in local CVS directory.Tobias Stoeckmann
OK niallo@
2007-10-08do not try to reset the default branch if the RCS fileJoris Vink
does not exist, fixes a segfault when commiting a new file. found by tobias@ who is going to make a nice little regression test for this.
2007-10-07break after exit() is uselessCharles Longeau
ok ray@
2007-10-07nb is an int, so it should be compared to an int.Charles Longeau
ok ray@
2007-10-06replace abort() by return (-1)Charles Longeau
from ray@ suggestion "looks good" ray@
2007-10-05strcspn() changeGilles Chehade
was okay'd by pyr@ and ok by millert@
2007-10-03reset the default branch early on so rcs_head_get() does not screw us upJoris Vink
and returns a possibly wrong revision as 'current revision'. noticed by tobias@ his regress testing
2007-09-25missing header for strptimeCharles Longeau
ok joris@
2007-09-25remove unused extern variableCharles Longeau
ok joris@
2007-09-25missing header for mkstempCharles Longeau
check mkstemp return value against -1 instead of NULL ok joris@
2007-09-25missing header for mkstempCharles Longeau
ok joris@
2007-09-24oops i was suppose to pass cvs_directory_tag to cvs_file_classify().Joris Vink
2007-09-24unused varsJoris Vink
2007-09-24add support to commit modified files to branches.Joris Vink
2007-09-24zap unused stuff, cleans it up a bit.Joris Vink
2007-09-23make sure when running update -r on existing files to overwriteJoris Vink
the sticky directory tag with it. since -r gets priority.
2007-09-23pass FILE_HAS_FLAG towards the update code so it can identifyJoris Vink
if a given tag is present in the RCSfile or not.
2007-09-22better branching/sticky tag support, no branch commits yet though.Joris Vink
2007-09-22we no longer create a 0 sized file in our /tmp/cvs-serv<pid> serverJoris Vink
directory when a client sends us info about a file that is up to date. instead, remember the file is up to date in our CVS/Entries. Saves us a lot of headaches on very big trees like src/
2007-09-22in rcs_translate_tag() do not fail when a tag resolvedJoris Vink
to a normal revision instead of a branch, its perfectly valid.
2007-09-22fix error message output, it caused diffs to be formed incorrectlyJoris Vink
when no newline was present.
2007-09-22Support for checkout with a local repository already in place.Tobias Stoeckmann
OK joris@
2007-09-19Allow lines which do not specify any arguments for command (or cvs).Tobias Stoeckmann
Sticks at GNU cvs behaviour. OK joris@
2007-09-19parse global arguments (cvs) and command arguments only once, i.e. firstTobias Stoeckmann
line of occurence. Nice side-effect: only parse arguments for current command, not for all. OK joris@
2007-09-19Print warning about invalid command in .cvsrc only if -V is in use.Tobias Stoeckmann
OpenCVS defaults to -q, so man page should say "with -V", not "without -q or -Q". OK joris@
2007-09-19Next to ' ', '\t' is valid between command and arguments.Tobias Stoeckmann
OK joris@
2007-09-19Weird, but our goal is compatibility: treat '\t' in front of keyword as '#'.Tobias Stoeckmann
OK joris@
2007-09-19Do not parse quoted strings because GNU cvs won't do so.Tobias Stoeckmann
OK joris@
2007-09-19Usage of fgetln() instead of fgets() in .cvsrc parsing handles lineTobias Stoeckmann
numbers better and allows longer command arguments. OK joris@
2007-09-17Print error messages sent by server on stderr. While at it, replacedTobias Stoeckmann
cvs_printf in cvs_client_m with puts (no need of cvs_printf's abilities here). OK joris@
2007-09-17Imported atomicio interface.Tobias Stoeckmann
Requested by ray@, OK joris@
2007-09-13Added annotate support for local and remote repositories. Behaves likeTobias Stoeckmann
GNU cvs but is a little faster. OK joris@, ray@, xsa@
2007-09-10remove my addition of portnumber for rsh in CVSROOT.Joris Vink
while it sounds like a "good" idea some people convinced me otherwise. mostly because this breaks compat with GNU cvs.
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-09-10Allow port specification in our CVSROOT which is used for ourJoris Vink
ssh connection to our server. Example: joris@somehost.com:2222:/cvs OK tobias@
2007-09-10Properly display list of commands in default 80 column terminal.Tobias Stoeckmann
OK joris@
2007-09-10Fixed segmentation fault that occured during .cvsrc parsing if an invalidTobias Stoeckmann
cvs command has been specified. Spotted by Mathias De Belder <mathias at woei dot be> who also supplied a patch, although I took his second suggestion. OK joris@
2007-09-09Added support for checkout -p with local repository.Tobias Stoeckmann
OK joris@
2007-09-07Properly send out rcs info header with "E " in server mode (stderr inTobias Stoeckmann
local mode). Format style change also enables opencvs to be used with cvsweb (+ adjustment). OK joris@
2007-09-07Do not fatal if getpwuid() fails, instead ignore user configuration files.Tobias Stoeckmann
OK joris@
2007-09-07Sprinkle some magic so checkout/update -p worksJoris Vink
in both local and server mode. OK tobias@
2007-09-07Added support for single file checkout.Tobias Stoeckmann
OK joris@
2007-09-07Do not use global option -V (GNU cvs doesn't understand it), be veryTobias Stoeckmann
verbose per default on server-side instead. OK joris@
2007-09-04Removed dead code.Tobias Stoeckmann
OK joris@, ray@
2007-09-04Replaced strlen() with sizeof() - 1 when #define'd strings are used.Tobias Stoeckmann
OK ray@
2007-09-04Handle ^D as a)bort in log message question.Tobias Stoeckmann
OK joris@
2007-09-02OpenCVS server init-support with OpenCVS and GNU cvs clients.Tobias Stoeckmann
OK joris@
2007-09-02Stick at GNU cvs behaviour with Root directive handling: it does not needTobias Stoeckmann
to be sent first, can occure multiple times (although this is ignored) but should be supplied before Directory. OK joris@
2007-09-02Handle quotation marks in .cvsrc correctly.Tobias Stoeckmann
OK joris@