Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop looking at current_cvsroot->cr_method to figure out if we're remote or not. | 2017-06-01 | 1 | -5/+4 | |
| | | | | Instead use cvsroot_is_local() and cvsroot_is_remote(). | ||||
* | fix indentation | 2017-05-31 | 1 | -2/+2 | |
| | |||||
* | rcsnum_free() -> free() cleanups. From Michael W. Bombardieri. | 2016-10-13 | 1 | -4/+4 | |
| | | | | OK millert@ | ||||
* | Use the correct type for p. From Joris Vink. | 2016-10-12 | 1 | -2/+3 | |
| | | | | OK tb@ | ||||
* | Remove xfree(), like already done for RCS. From Michael W Bombardieri, | 2015-11-05 | 1 | -5/+5 | |
| | | | | ok mmcc | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -2/+2 | |
| | | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | ||||
* | Move some global variables/statics to locals, from Michael W | 2011-12-27 | 1 | -2/+2 | |
| | | | | Bombardieri. | ||||
* | Check date_parse return values. | 2010-07-30 | 1 | -2/+3 | |
| | | | | OK xsa | ||||
* | Reduce variable/function name and whitespace differences between | 2010-07-23 | 1 | -4/+4 | |
| | | | | | | cvs/rcs. OK xsa zinovik | ||||
* | Conforming to RCS specification, it is possible but unlikely to encounter | 2008-06-14 | 1 | -2/+2 | |
| | | | | | | | | an RCS file which has no head revision set. Some commands actually can work with them (log, status) so support these files. Fixes A LOT of possible segmentation faults. ok joris | ||||
* | Added support for sticky date set in CVS/Tag and CVS/Entries per directory. | 2008-06-14 | 1 | -3/+4 | |
| | | | | ok joris | ||||
* | Check if RCS file exists before trying to retrieve revisions for annotate, | 2008-06-09 | 1 | -3/+2 | |
| | | | | | | fixes segmentation fault on added but not yet committed files for example. Based on diff by Igor Zinovik. | ||||
* | rannotate needs at least one module as argument. | 2008-03-02 | 1 | -2/+6 | |
| | | | | ok joris | ||||
* | Print the right synopsis for commands on error (especially if commands | 2008-03-02 | 1 | -2/+4 | |
| | | | | | | share the same function: (r)tag, etc.). ok joris | ||||
* | properly initialize cvs_specified_date so we dont end up with | 2008-02-10 | 1 | -2/+2 | |
| | | | | random stuff going on | ||||
* | If no revision or date has been specified, default to HEAD. | 2008-02-09 | 1 | -2/+3 | |
| | | | | OK joris@ | ||||
* | Get date support into annotate, too. | 2008-02-09 | 1 | -2/+8 | |
| | | | | OK joris@ | ||||
* | r* commands have their own usage; don't check usage of their working dir | 2008-02-04 | 1 | -2/+3 | |
| | | | | | | equivalents. OK joris@, xsa@ | ||||
* | trailing space police; | 2008-02-04 | 1 | -5/+5 | |
| | |||||
* | Do not unify this "-fr UNKNOWN" handling, it breaks commands which have | 2008-02-03 | 1 | -1/+6 | |
| | | | | | | to work fine and just ignore files which don't have requested symbol. Spotted by joris@. | ||||
* | Although this doesn't comply to common sense, it complies to GNU cvs. All | 2008-02-02 | 1 | -7/+1 | |
| | | | | | | | commands which supply -f and -r have this weirdness: an unknown symbol leads to fatal instead of head revision. OK xsa@ | ||||
* | Sync `rannotate' synopsis. r* commands work on repository modules. | 2008-02-02 | 1 | -2/+2 | |
| | |||||
* | Added rannotate support | 2008-02-01 | 1 | -6/+30 | |
| | | | | OK xsa@ | ||||
* | Another GNU cvs weirdo: During annotate, invalid revisions are allowed if | 2008-02-01 | 1 | -1/+7 | |
| | | | | -f is supplied (thus switching to HEAD), but unknown symbols end in fatal. | ||||
* | Replaced the unused cvs_command variable cmd_req with cmd_flags, which states | 2008-01-31 | 1 | -2/+2 | |
| | | | | | | | | | | | 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@ | ||||
* | Properly handle -R -- although it is default, it may be overwritten mit -l | 2008-01-28 | 1 | -1/+2 | |
| | | | | | | | | in front of it. OK joris@, xsa@ > Diff from Igor Zinovik | ||||
* | Added proper support for branch revisions in annotate. | 2007-10-09 | 1 | -14/+31 | |
| | | | | OK niallo@, twice :) | ||||
* | Properly parse supplied symbols with -r argument. | 2007-10-09 | 1 | -3/+11 | |
| | | | | OK niallo@ | ||||
* | Do not use working HEAD (file_rcsrev), instead use file_rcs->rf_head to | 2007-10-09 | 1 | -4/+4 | |
| | | | | | | print revision info. OK niallo@ | ||||
* | various style cleanups: | 2007-10-09 | 1 | -32/+34 | |
| | | | | | | | | | - Copyright order - rev -> cvs_specified_tag - crev -> rev - line instead of alines[i] in for-loop OK niallo@ | ||||
* | better branching/sticky tag support, no branch commits yet though. | 2007-09-22 | 1 | -2/+2 | |
| | |||||
* | Added annotate support for local and remote repositories. Behaves like | 2007-09-13 | 1 | -6/+64 | |
| | | | | | | GNU cvs but is a little faster. OK joris@, ray@, xsa@ | ||||
* | general includes cleanup sweep. ok joris@ niallo@ | 2007-02-22 | 1 | -3/+4 | |
| | |||||
* | remove the cvs_file_classify() `loud' argument, it was used | 2007-02-09 | 1 | -2/+2 | |
| | | | | | | in the old school days and serves no purpose what so ever now. otto@ mentioned this to me a while ago | ||||
* | nuke the the very evil rcs_getrev() stuff | 2007-01-13 | 1 | -39/+2 | |
| | | | | discussed with niallo@ | ||||
* | rework opencvs so that we can deal with binary files. previously we assumed all files were ascii, | 2007-01-11 | 1 | -2/+4 | |
| | | | | | | | | which broke things in real-world usage. now a checkout of src should work, albeit using lots of memory and cpu. fixing this is the next step. testing by many. ok & some input joris@ | ||||
* | in a remote setup: | 2007-01-11 | 1 | -1/+2 | |
| | | | | | | | do not connect to the remote server until we are sure all the options passed to the commands are valid. noticed by xsa@ | ||||
* | don't process the file if its status is FILE_UNLINK. | 2006-11-27 | 1 | -2/+4 | |
| | |||||
* | Bring back basic annotate command. Needs more work. | 2006-11-15 | 1 | -0/+153 | |
| | | | | Not linked to build yet. | ||||
* | commit the new opencvs code, i have been hacking on | 2006-05-27 | 1 | -183/+0 | |
| | | | | | | | | | | | | 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. | ||||
* | strerror() -> rcs_errstr() when passing rcs_errno as argument; | 2006-01-30 | 1 | -2/+2 | |
| | |||||
* | more errors handling cleanup; | 2006-01-27 | 1 | -4/+4 | |
| | |||||
* | #include's cleanup; ok joris@ niallo@. | 2006-01-02 | 1 | -9/+2 | |
| | |||||
* | minor style nits; | 2005-12-30 | 1 | -2/+2 | |
| | |||||
* | major cleanup of the functions handling the remote cvs protocol. | 2005-12-30 | 1 | -31/+15 | |
| | | | | | | makes the code a lot more readable and understandable. ok xsa@ and niallo@ | ||||
* | cvs_rcs_getpath() cannot fail anymore; | 2005-12-22 | 1 | -3/+2 | |
| | |||||
* | KNF; | 2005-07-25 | 1 | -5/+5 | |
| | |||||
* | <sys/param.h> is already included in "cvs.h", no need to duplicate; | 2005-07-21 | 1 | -2/+1 | |
| | |||||
* | more use of cvs_rcs_getpath(); | 2005-07-14 | 1 | -13/+3 | |
| | |||||
* | zap unused variable | 2005-07-11 | 1 | -2/+1 | |
| |