summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2005-04-27no need to query the Entries line for files anymore and a bit of cleanupJean-Francois Brousseau
2005-04-27cleanup and initial split between remote and local update codeJean-Francois Brousseau
2005-04-25first part of file API changes:Joris Vink
- fix our behaviour regarding directories or files in a different directory than we currently are as arguments to commands, this allows stuff like "cvs status sys/arch/i386/Makefile" to work. - when parsing a pathname only load the needed nodes of the path instead of loading *everything* in memory. the next step in this is to merge the collection and callback execution together. ok jfb@, xsa@
2005-04-25resurrect missing parts to generate rcsdiff(1)-style diffs with the -nJean-Francois Brousseau
flag ok xsa
2005-04-25* add missing 'R' flag in diff synopsisJean-Francois Brousseau
* add the CVS_EX_BADROOT return code to indicate that there was no CVSROOT given or it was invalid ok joris, xsa
2005-04-25set the default branch to 1.1.1 upon import, and remove a strayJean-Francois Brousseau
cvs_connect() call ok joris, xsa
2005-04-24don't send a Modified request and the file its contents whenJoris Vink
it has been removed.
2005-04-24add missing CVS_CMD_ALLOWSPEC flagJoris Vink
2005-04-22finish support for the '-' token in the Entry file, this allowsJoris Vink
us to mark files as removed, and lets the remove command work completely. tested and ok xsa@, jfb@
2005-04-22sync add command usage w/ man page; joris okXavier Santolaria
2005-04-22missing '-R' (force recursion) option for diff.Joris Vink
noticed by brad@
2005-04-21let the `cvs remove' command work with no file(s) specified as args;Xavier Santolaria
joris ok
2005-04-21better include the cvs_sendfile() req in the conditional statement soXavier Santolaria
it behaves like expected.. pointed out by joris@.
2005-04-21add checks for files still physically present that should be removed;Xavier Santolaria
input/ok joris
2005-04-21* fix the tag command's synopsisJean-Francois Brousseau
* prepend __progname and the command string when displaying command usage
2005-04-20check the validity of tag names passed to the tag command, and printJean-Francois Brousseau
an abort message if the tag is invalid. also, match gnu cvs behaviour with regards to command usage output on usage errors. ok joris
2005-04-20add the CVS_EX_OK return code to indicate everything went fineJean-Francois Brousseau
ok joris
2005-04-20shut up a useless warning for newly created filesJoris Vink
ok jfb@
2005-04-19add error messages for the new RCS error codesJean-Francois Brousseau
2005-04-19add rcs_sym_check() to check the validity of an RCS symbol andJean-Francois Brousseau
sprinkle some in the other symbol functions
2005-04-19big spring cleanup and make tag work again when dealing with multipleJean-Francois Brousseau
directories by specifying CVS_CMD_SENDDIR, and first stab at the local version, needs tweaking
2005-04-19correctly handle the "Removed" response, so that the correctJoris Vink
file and entry are removed. ok jfb@, xsa@
2005-04-19- remove unused headerXavier Santolaria
- add -l and -R flags - add check on cvs_sendentry() return value joris@ ok
2005-04-19handle removed files as well when checking files to commitJean-Francois Brousseau
ok joris
2005-04-19send the correct argument, -A not -aJoris Vink
2005-04-19support -P -A -d flagsJoris Vink
2005-04-19remove debug codeJoris Vink
2005-04-19make sure we pick up newly added files.Joris Vink
2005-04-19update cf_type to the correct type if we cannot stat(2) theJoris Vink
requested file or directory in cvs_file_lget(). should fix those "attempt to send Entry for non-regular file" errors. reported by brad@
2005-04-18don't send an Entry reply to the server for unknown files,Joris Vink
fixes "foo is not (any longer) pertinent" errors
2005-04-18only copy ce_tag is it is not NULL, fixes a segfault onJoris Vink
startup for the update command.
2005-04-18missing prototype for get_date();Joris Vink
from deraadt@
2005-04-18dummy handlers for the Entry, Modified, Is-Modified, Updated andJean-Francois Brousseau
Questionable requests.
2005-04-18free cf_tag for regular files in cvs_file_free();Joris Vink
ok jfb@
2005-04-18more debugging leftoversJoris Vink
2005-04-18remove debugging leftoversJean-Francois Brousseau
2005-04-18Modify the CVSFILE structure using a union to keep information aboutJean-Francois Brousseau
both files and directories. We can now keep the revision number for regular files, and don't need to fetch the appropriate entry in the command callbacks. This saves a huge amount of parsing on Entries files. ok joris@
2005-04-16thought i had committed that earlier;snprintf return value check; joris okXavier Santolaria
2005-04-16make sure we send the correct stuff for newly added files thatJoris Vink
are not commited yet.
2005-04-16more snprintf return value check; joris okXavier Santolaria
2005-04-16snprintf return value check; joris okXavier Santolaria
2005-04-16snprintf return value check; joris okXavier Santolaria
2005-04-16missing cvs_ent_free(); joris okXavier Santolaria
2005-04-16check snprintf() return value;Joris Vink
from deraadt@ small change by me
2005-04-15pick up BINDIR from above; ok jorisTheo de Raadt
2005-04-15rcs is now in usr.bin/rcs; ok jfb jorisTheo de Raadt
2005-04-15stuff moved to rcs dirTheo de Raadt
2005-04-15build cvs right out of the base directory, no need for a subdir (you mayTheo de Raadt
need some obj cleaning as a result of this); ok jfb
2005-04-15snprintf() return values checks; joris okXavier Santolaria
2005-04-15braino; joris okXavier Santolaria