summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2008-02-04unbreak add in a remote setup.Joris Vink
bad tobias, no cookie.
2008-02-04trailing space police;Joris Vink
2008-02-04more CVSROOT/modules stuff:Joris Vink
- support for -i flag: Run "prog" on "cvs commit" from top-level of module. - fix some memory leaks in modules.c - pass the line number from cvs_read_config() towards the callbacks so its easier to print out where it's going wrong, if it ever does. OK tobias@
2008-02-04Stripped off 'nb', which was (or was supposed to be) used to distinguishTobias Stoeckmann
between a named branch and a revision number supplied by -r. This can be done easier in cvs_write_tagfile directly. OK joris@
2008-02-04Make CVS/Entries.Log look the same as GNU cvs'. This way interoperabilityTobias Stoeckmann
is possible. OK joris@
2008-02-04Added -k flag support for all commands which support it.Tobias Stoeckmann
OK joris@
2008-02-03shuffle some stuff around so we dont end up doing the same thingsJoris Vink
twice in cvs_module_lookup() and checkout_check_directory(); allow single files to be ignored with ! as well;
2008-02-03be more strict when checking ignore patterns;Joris Vink
kill unused var;
2008-02-03more CVSROOT/module stuff:Joris Vink
- allow more then 1 module to be specified per definition - respect the "!" sign which means: "hey ignore this dir when checking out" - non alias definitions can now contain files ok tobias@
2008-02-03dont forget to send the -d flag to our server as well if itJoris Vink
was specified;
2008-02-03respect any -l option that might have been set in CVSROOT/modules;Joris Vink
2008-02-03Diff header complies to GNU cvs now.Tobias Stoeckmann
OK joris@
2008-02-03with the recent changes for CVSROOT/modules we can now support theJoris Vink
basics of checkout -d. Multiple modules with -d is still "not supported". example: $ opencvs -d /cvs co -d kernel_source_3_0 -rOPENBSD_3_0 ksrc yes, it rocks. ok tobias@
2008-02-03Added rdiff support. In order to do this, some output and option fixesTobias Stoeckmann
had to be done for diff, too. OK joris@
2008-02-03better CVSROOT/module support, includes remote support and modulesJoris Vink
that are not aliases (-a); OK tobias@
2008-02-03Do not unify this "-fr UNKNOWN" handling, it breaks commands which haveTobias Stoeckmann
to work fine and just ignore files which don't have requested symbol. Spotted by joris@.
2008-02-03Like i wrote in last commit, it's supposed to be sys/time.h, not sys/times.h.Tobias Stoeckmann
2008-02-03cvs_update_leavedir is only useful if dirs have to be pruned.Tobias Stoeckmann
OK joris@
2008-02-03(f)utimes takes sys/time.hTobias Stoeckmann
2008-02-02Better CVSROOT/modules file format.Xavier Santolaria
2008-02-02Basic CVSROOT/modules bits.Xavier Santolaria
2008-02-02Zap trailing whitespaces.Xavier Santolaria
2008-02-02remove unneeded headersJoris Vink
2008-02-02initial CVSROOT/modules support, only does aliases at the moment (-a).Joris Vink
"modules.c, hurray!" xsa@, ok tobias@
2008-02-02Missed one annotate -> rannotate in sysnopsis.Xavier Santolaria
2008-02-02Add `rlog' bits.Xavier Santolaria
2008-02-02Although this doesn't comply to common sense, it complies to GNU cvs. AllTobias Stoeckmann
commands which supply -f and -r have this weirdness: an unknown symbol leads to fatal instead of head revision. OK xsa@
2008-02-02Sync `rannotate' synopsis. r* commands work on repository modules.Xavier Santolaria
2008-02-02Add `rannotate' bits. Requested by tobias@.Xavier Santolaria
2008-02-01Make cvs_requests struct more readable.Xavier Santolaria
2008-02-01introduce cvs_read_config() which will be used as a generalJoris Vink
handler to open and read configuration files in CVSROOT/ change cvs_parse_configfile() to use cvs_read_config() instead; ok tobias@
2008-02-01Added rannotate supportTobias Stoeckmann
OK xsa@
2008-02-01Another GNU cvs weirdo: During annotate, invalid revisions are allowed ifTobias Stoeckmann
-f is supplied (thus switching to HEAD), but unknown symbols end in fatal.
2008-01-31Handle magic branch numbers in OpenCVS as well.Tobias Stoeckmann
OK joris@
2008-01-31free RCSNUM's when we are done with them;Joris Vink
ok tobias@
2008-01-31Zap trailing whitespaces.Xavier Santolaria
2008-01-31If CVS/Entries.Static exists, don't look for more files in repository.Tobias Stoeckmann
OK joris@
2008-01-31We have cvs_client_send_logmsg for transmission of log messages.Tobias Stoeckmann
OK joris@ xsa@
2008-01-31in some cases we did not return a copy of the resulting RCSNUMJoris Vink
towards the caller, which expects a copy (and frees it when done). ok tobias@
2008-01-31remove dead and unreachable codeJoris Vink
ok tobias@ xsa@
2008-01-31add changed lines support to log and rlog (the + and - stuff)Joris Vink
from Pierre Riteau;
2008-01-31vasprintf requires stdio.hTobias Stoeckmann
2008-01-31Make use of CVS_REV_BUFSZ everywhere for `sticky'.Xavier Santolaria
2008-01-31Rename `stickytag' variable to `sticky' for consistency with rest of the code.Xavier Santolaria
2008-01-31We have to carefully check if a checkout command is run with a validTobias Stoeckmann
directory or file. When it comes to files, check if there is a file available ending in ,v or if it is in Attic. Everything else in invalid. OK joris@, xsa@
2008-01-31During checkout -p don't print files which are in Attic if they are notTobias Stoeckmann
requested with -r. OK joris@
2008-01-31Rework of cvs_get_repository_name.Tobias Stoeckmann
checkout is allowed to continue if CVS/Repository does not exist. export and import are not supposed to open CVS/Repository. All other commands -- if CVS_USE_WDIR is set -- must fatal if it does not exist. OK joris@
2008-01-31On repository-side, only parse files which end with ,v (RCS_FILE_EXT).Tobias Stoeckmann
File name ",v" is ignored, too -- in opposite to weird GNU cvs that tries to create a file without name. OK joris@
2008-01-31Our directory entries in CVS/Entries had one slash too much -- zapped.Tobias Stoeckmann
OK xsa@
2008-01-31Replaced the unused cvs_command variable cmd_req with cmd_flags, which statesTobias Stoeckmann
if the current command is supposed to use a working directory or if it is a repository-only command (as of now checkout -p, rtag, rlog). Makes the code simpler, easier to read and automagically fixes some issues we encountered with these commands (for example if a working directory exists, or "." operations are performed). OK joris@, niallo@