summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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-02From src/usr.bin/cvs:Xavier Santolaria
> add changed lines support to log and rlog (the + and - stuff) > from Pierre Riteau;
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-31explain how to handle local file names containing colons;Jason McIntyre
requested by Tamas TEVESZ ok dtucker
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-31Revert last patch and add this magic branch number only duringTobias Stoeckmann
output, this way we don't have to hassle in our internal brach handling. 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@
2008-01-29A few changes:Marc Espie
- expand commands earlier, so that we can eventually scan them to take smarter decisions. - clean up the select() mask code and rename variables to sensible things. - quite a few minor renames for readability - erecalloc - clean up wait status handling, do not try to rebuild wait status, but instead parse it early and deal with the parsed code. tested by lots of people, thanks guys!
2008-01-29There is no need to xstrdup() optarg.Tobias Stoeckmann
2008-01-29Fixed function name in fatal calls. While at it, adjusted style.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly free dynamically allocated memory on error path.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly free dynamically allocated memory. Also skip needless checks.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly check if an argument has been supplied for "Removed"Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28Actually support checkout's -l.Tobias Stoeckmann
OK xsa@
2008-01-28Properly free "rev".Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28Zapped some variables which made the source harder to read (and to verify).Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28checkout's options -m and -F are mutually exclusive. Also watch out toTobias Stoeckmann
properly free arguments if options are supplied multiple times. OK ray@ > Diff from Igor Zinovik
2008-01-28Properly handle -R -- although it is default, it may be overwritten mit -lTobias Stoeckmann
in front of it. OK joris@, xsa@ > Diff from Igor Zinovik
2008-01-24Work-in-progress for sparc64, by David Crawshaw.Anders Magnusson
2008-01-23Don't reset the sticky tag of a file in CVS/Entries if it is not requested.Tobias Stoeckmann
OK niallo@, xsa@
2008-01-23Revert the change for bz #1307 as it causes connection aborts if an IGNOREDarren Tucker
packet arrives while we're waiting in packet_read_expect (and possibly elsewhere).
2008-01-22Don't remove magic branch numbers from rcs files, as it breaks compatibilityTobias Stoeckmann
with GNU cvs. OK niallo@, ray@
2008-01-21update to sudo 1.6.9p12Todd C. Miller
2008-01-21when a remote write error occurs during an upload, ensure that ACKs for allDamien Miller
issued requests are properly drained. patch from t8m AT centrum.cz
2008-01-21Remove the fixed 100 handle limit in sftp-server and allocate as manyDamien Miller
as we have available file descriptors. Patch from miklos AT szeredi.hu; ok dtucker@ markus@
2008-01-21Fixed cvs_findcmd I broke last time: cvs_findcmd is called during .cvsrcTobias Stoeckmann
parsing and must have a local cmdp variable. > Spotted by Pierre Riteau.
2008-01-21Fixed export to be fully functional and compliant to GNU cvs in local andTobias Stoeckmann
remote setups. OK xsa@
2008-01-20When uploading, correctly handle the case of an unquoted filename withDamien Miller
glob metacharacters that match a file exactly but not as a glob, e.g. a file called "[abcd]". report and test cases from duncan2nd AT gmx.de
2008-01-19promote rekeylimit to a int64 so it can hold the maximum useful limitDamien Miller
of 2^32; report and patch from Jan.Pechanec AT Sun.COM, ok dtucker@
2008-01-19When we added support for specified bind addresses for port forwards, weDamien Miller
added a quirk SSH_OLD_FORWARD_ADDR. There is a bug in our handling of this for -L port forwards that causes the client to listen on both v4 and v6 addresses when connected to a server with this quirk, despite having set 0.0.0.0 as a bind_address. report and patch from Jan.Pechanec AT Sun.COM; ok dtucker@
2008-01-19unbreak line numbering (broken in revision 1.164), fix error messageDamien Miller