summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2006-05-28enable basic add command, only works on files right now.Joris Vink
2006-05-28add rf_dead field to RCSFILE which can tell usJoris Vink
if an RCSFILE is dead, will come in usefull later in commands.
2006-05-28if we run into a file that was suppose to be a directoryJoris Vink
or a directory that is suppose to be a file, abort right away because something bad probably happened.
2006-05-28allow commands to shut up the output from cvs_file_classifyJoris Vink
if the commands want to output certain stuff themselfs
2006-05-28teach opencvs ci how to commit files that have been added,Joris Vink
opencvs can now commit modified files, removed files and added files. hip hip hurray!
2006-05-28enable merging on update. if your file in your working copyJoris Vink
has been modified by yourself and there is a newer revision we try and merge them together. if the merge fails and has conflicts it will mark them inside the file, you will need to resolve these by hand first before you will be able to commit your modified file. works transparent with gnu cvs, as it is suppose to.
2006-05-27do not close the same entries list twice, this caused a double free;Joris Vink
2006-05-27and now you can use -N to diff removed files tooJoris Vink
2006-05-27handle comments and leading spaces correctlyJoris Vink
in CVSROOT/config
2006-05-27allow diff to pick up newly added files with the -N flag.Joris Vink
2006-05-27more standard ignore patternJoris Vink
2006-05-27lets be nice and abort cvs when we find out there isJoris Vink
no CVSROOT directory where there is suppose to be one.
2006-05-27basic support for CVSROOT/config - only supporting the 'tag' andJoris Vink
'umask' keyword right now.
2006-05-27dont forget to expand any keywords before diffing stuff,Joris Vink
otherwise we might end up with chunks that are totally wrong.
2006-05-27boogie cvs_yesno() down the removal hatch, it is not used.Joris Vink
2006-05-27support the -d flag for update.Joris Vink
if you specify -d when running update new directories will be build, otherwise they will be skipped.
2006-05-27update needs the CR_REPO flag to, otherwise it will forgetJoris Vink
about any new files or directories inside the repository
2006-05-27show which directory we are examining in our pre-commit checks.Joris Vink
2006-05-27remove debug outputJoris Vink
2006-05-27allow commands to respect the -l flag, if the -l flag isJoris Vink
specified certain commands will not recurse into directories. at the same time introduce a method of specifying wether or not a command should look in the repository for files.
2006-05-27dont allow commit to continue if the file that is beingJoris Vink
commited needs to be updated or merged first.
2006-05-27commiting removed files now worksJoris Vink
2006-05-27use RCS_STATE_DEAD instead of plain old 'dead' when checkingJoris Vink
the RCS file its state.
2006-05-27correctly expand keywords when checking out filesJoris Vink
2006-05-27pruning (-P) support for both the update and checkout commands;Joris Vink
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now.
2006-05-03Use xasprintf and xfree.Ray Lai
``But i thought it already went in...'' xsa@
2006-05-01- fix a case in rcs_getrev() handling of branches where variant was not beingNiall O'Higgins
increased and thus no progress could be made in the loop. bug noticed in rcsdiff(1) by sturm@ ok joris@
2006-04-29Remove dead code.Ray Lai
OK niallo@
2006-04-27document revisions and state; ok xsaJason McIntyre
2006-04-25check rcs_head_set() return value.Xavier Santolaria
2006-04-20change cvs_log() and cvs_vlog() return type to void; OK niallo@.Xavier Santolaria
2006-04-19keyword section is in rcs(1) now;Jason McIntyre
2006-04-19move the keyword substitution section from cvs(1) to rcs(1):Jason McIntyre
this keeps the docs correct, and according to xsa is the correct place for it anyway... ok xsa niallo
2006-04-17Remove unused variable.Ray Lai
Found by lint. OK joris@
2006-04-14- don't append the extension if it's already there (PR 5076).Joris Vink
- show magic branches in rlog (thanks for that nicer hack niall). - correct output in rcsdiff, so we perfectly match gnu's all these bugs were found by sturm@ while he was using cvsweb (which uses the RCS tools). "it is in my view that you should put it in" niallo@
2006-04-14- swap a hack for a slightly nicer hack using a global variable. this avoidsNiall O'Higgins
adding a really nasty hack to make some upcoming rlog fixes from joris work. ok joris@
2006-04-14spacingTheo de Raadt
2006-04-14more nasty spaces go bye byeTheo de Raadt
2006-04-14remove a metric buttload of excessive ()Theo de Raadt
no binary change; ok ray
2006-04-13Change rcs_parse_init() to return void, since it always returned 0.Ray Lai
Remove unused variables found by lint. Some parts OK xsa@, ``throw it in :)'' joris@
2006-04-13add support for the openrcs -o'range' option.Joris Vink
-o allows users to delete revisions in the specified RCS files. example: rcs -o1.4:1.6 foo deletes revisions 1.4 - 1.6 rcs -o1.3 foo deletes revision 1.3 joint work with niallo@ okay niallo@
2006-04-13fix -z option for openrcs, this was broken by xsaJoris Vink
when he yanked the code out of rcs.c and placed it in rcstime.c. struct tm ltb, *tb; tb = &ltb; return (tb); isn't really the most perfect idiom to return a value to the caller, now is it? as a bonus -z for rlog now works too. okay niallo@
2006-04-13fix the obviously broken cvs_buf_set(), so we don't end upJoris Vink
getting our buffer reset to 0 (empty) all the time. i noticed this when i was trying to fix -z for keyword expansion. sigh. okay niallo@
2006-04-13Add error checking for vasprintf. Stylistic suggestions from xsa@.Ray Lai
OK xsa@
2006-04-12Better match GNU behavior for rcs -l and rcs -u.Ray Lai
Save 2 bytes of newlines. OK joris@
2006-04-12yet another missing break;Xavier Santolaria
2006-04-12missing break; "Yeah, obvious" ray@.Xavier Santolaria
2006-04-12check for inflateReset() and deflateReset() return values; OK niallo@.Xavier Santolaria
2006-04-12xmalloc(); memset(); -> xcalloc();Ray Lai
OK xsa@