summaryrefslogtreecommitdiff
path: root/contrib/cvs
Commit message (Collapse)AuthorAgeFilesLines
* Flip the default for CVS_RSH to "ssh". I am tired of getting asked thisPeter Wemm2001-02-231-2/+2
| | | | | | | all the time, and IMHO it is long overdue. Notes: svn path=/head/; revision=72936
* Fix a bug that shows up when checking out files by date with theJohn Polstra2000-10-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | "-D date" command line option. There is code in the original to handle a special case. If the date search finds revision 1.1 it is supposed to check whether revision 1.1.1.1 has the same date stamp, which would indicate that the file was originally brought in with "cvs import". In that case it is supposed to return the vendor branch version 1.1.1.1. However, there is a bug in the code. It actually compares the date of revision 1.1 for equality with the date given on the command line -- clearly wrong. This commit fixes the coding bug. There is an additional bug which is _not_ fixed in this commit. The date comparison should not be a strict equality test. It should allow a fudge factor of, say, 2-3 seconds. Old versions of CVS created the two revisions with two separate invocations of the RCS "ci" command. We have many old files in the tree in which the dates of revisions 1.1 and 1.1.1.1 differ by 1 second. Approved by: peter Notes: svn path=/head/; revision=67839
* Merge changes from 1.10.7 -> 1.11 into mainline. Note that the oldPeter Wemm2000-10-0221-1141/+1257
| | | | | | | anoncvs no-password hack is gone and is replaced by the official version. Notes: svn path=/head/; revision=66528
* This commit was generated by cvs2svn to compensate for changes in r66525,Peter Wemm2000-10-0271-5094/+9584
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=66526
| * Import cvs-1.11 onto vendor branch.Peter Wemm2000-10-0291-6219/+10838
| | | | | | | | Notes: svn path=/vendor/cvs/dist/; revision=66525
* | Missing quotePeter Wemm2000-09-251-1/+2
| | | | | | | | | | | | | | | | PR: misc/19745 Submitted by: Tony Finch <dot@dotat.at> Notes: svn path=/head/; revision=66361
* | Use X x X's in mkstemp().Kris Kennaway2000-01-101-1/+1
| | | | | | | | Notes: svn path=/head/; revision=55735
* | I believe this fixes the problem certain people have been seeing when doingPeter Wemm2000-01-061-1/+5
| | | | | | | | | | | | | | | | | | | | checkouts from a local repo and committing via remote cvs. A cvs -d override of the mismatched CVS/Root files was missing. This is a client side fix, I'd appreciate it if the folks having trouble with this would update their cvs client and pay particular attention next time.. Notes: svn path=/head/; revision=55519
* | Unmangle cvs's MD5* calls.Peter Wemm1999-12-111-0/+15
| | | | | | | | Notes: svn path=/head/; revision=54441
* | Take a shot at using mkstemp() since we have a __warn_references() onPeter Wemm1999-12-112-1/+22
| | | | | | | | | | | | | | the other temporary file creation functions.. Notes: svn path=/head/; revision=54440
* | Merge error. rcs_lockfile is freed after unlock.Peter Wemm1999-12-111-2/+0
| | | | | | | | Notes: svn path=/head/; revision=54434
* | Update for 1.10.7 update.Peter Wemm1999-12-111-12/+6
| | | | | | | | Notes: svn path=/head/; revision=54433
* | Merge cyclic changes from 1.10.7 into our mainline. I did this seperatelyPeter Wemm1999-12-111-182/+301
| | | | | | | | | | | | | | | | as cvs update -j had kittens over the whole thing and I ended up merging it by hand. Notes: svn path=/head/; revision=54432
* | Merge cyclic changes for 1.10.7 only our mainline.Peter Wemm1999-12-1115-664/+1974
| | | | | | | | Notes: svn path=/head/; revision=54431
* | Revert to vendor version. Sigh, this left the vendor branch becausePeter Wemm1999-12-111-1/+2
| | | | | | | | | | | | | | of a fix for a y2k non-problem. :-( Notes: svn path=/head/; revision=54430
* | This commit was generated by cvs2svn to compensate for changes in r54427,Peter Wemm1999-12-1191-2114/+10401
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=54428
| * Import cvs-1.10.7. There are a number of nasty bugs that have been fixed.Peter Wemm1999-12-11108-2956/+12644
| | | | | | | | | | | | | | Obtained from: cyclic.com Notes: svn path=/vendor/cvs/dist/; revision=54427
* | Add maintainer tag, and add a description of a few more things we'vePeter Wemm1999-12-081-0/+11
| | | | | | | | | | | | | | added/changed locally for FreeBSD. Notes: svn path=/head/; revision=54319
* | Call isspace() directly to get rid of an objectionable include.David E. O'Brien1999-12-041-3/+2
| | | | | | | | Notes: svn path=/head/; revision=54117
* | Document the .cvsrc "cvs" option for global options.Peter Wemm1999-12-041-0/+9
| | | | | | | | Notes: svn path=/head/; revision=54112
* | Support the environtmental var "CVS_OPTIONS". Which can hold a set ofDavid E. O'Brien1999-12-044-1/+135
| | | | | | | | | | | | | | | | | | | | default options for cvs. These options are interpreted first and can be overwritten by explicit command line parameters. Obtained from: GNU Grep 2.3 Notes: svn path=/head/; revision=54107
* | If running on the client side of a remote commit, don't reject root whenPeter Wemm1999-10-251-1/+6
| | | | | | | | | | | | | | | | | | | | trying to do a commit. The server side will use the correct name, and the client side restriction is just an annoyance. Requested by: lots of folks Notes: svn path=/head/; revision=52479
* | Document -R.David E. O'Brien1999-09-111-0/+8
| | | | | | | | Notes: svn path=/head/; revision=51152
* | Fixed style bugs in FreeBSD changes. KNF style doesn't apply to gnuBruce Evans1999-07-041-4/+4
| | | | | | | | | | | | | | sources. Notes: svn path=/head/; revision=48561
* | Don't assume branch heads are alive.. (related to previous change to thePeter Wemm1999-05-101-1/+2
| | | | | | | | | | | | | | older 1.9.26 baseline) Notes: svn path=/head/; revision=46893
* | Zap files not in cvs-1.10Peter Wemm1999-04-052-427/+0
| | | | | | | | Notes: svn path=/head/; revision=45331
* | Stray files that used to be in 1.9.x that are not in 1.10Peter Wemm1999-04-051-71/+0
| | | | | | | | Notes: svn path=/head/; revision=45330
* | Merge cvs-1.9.xx -> 1.10 changes onto mainline.Peter Wemm1999-03-1814-452/+1385
| | | | | | | | | | | | | | | | Changes of significance include the top level CVS directory being optional and defaulting to off.. Notes: svn path=/head/; revision=44856
* | Merge cvs-1.9.xx -> 1.10 changes onto mainline.Peter Wemm1999-03-181-6/+17
| | | | | | | | | | | | | | | | | | The merge turned up a long-standing bug in local additions. I'm not quite sure it's right yet. (the code in question is dealing with diffs relative to "HEAD" and dead revisions). Notes: svn path=/head/; revision=44855
* | This commit was generated by cvs2svn to compensate for changes in r44852,Peter Wemm1999-03-1851-1443/+4222
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=44853
| * Import cvs-1.10 onto vendor branch. Merge to follow shortly.Peter Wemm1999-03-1866-1889/+5632
| | | | | | | | | | | | | | Obtained from: cyclic.com Notes: svn path=/vendor/cvs/dist/; revision=44852
* | Tidy logic in sccs2rcs,Daniel O'Callaghan1999-01-152-3/+4
| | | | | | | | | | | | | | | | | | Fix y2kbug "19$year" in log.pl PR: 9501 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=42695
* | Yet another y2k bug. (printf("19%s %s", $3, $4);)Daniel O'Callaghan1999-01-151-1/+1
| | | | | | | | Notes: svn path=/head/; revision=42685
* | Fixed typo in previous commit. oops.Matthew Dillon1998-12-031-1/+1
| | | | | | | | Notes: svn path=/head/; revision=41482
* | Reviewed by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, cvs-all@freebsd.orgMatthew Dillon1998-12-032-1/+28
| | | | | | | | | | | | | | | | | | Add '-g' main option to cvs to better support shared-group access to a common checked-out *working* set by multiple users. See manual page for details. Notes: svn path=/head/; revision=41481
* | -v to show compiled in paths doesn't seem to exist.David E. O'Brien1998-10-041-3/+1
| | | | | | | | | | | | | | | | PR: docs/7912 Submitted by: Stephen J. Roznowski <sjr@home.net> Notes: svn path=/head/; revision=39949
* | Use readlink correctlyWarner Losh1998-09-091-3/+5
| | | | | | | | Notes: svn path=/head/; revision=39010
* | Spelling corrections.Joseph Koshy1998-06-031-1/+1
| | | | | | | | | | | | | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36601
* | If we are logging into a cvs pserver with the username of "anoncvs",Peter Wemm1998-05-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | and we have not done an explicit 'cvs login', then use a default password of "anoncvs". This allows things like: setenv CVSROOT :pserver:anoncvs@anoncvs.freebsd.org:/cvs cvs checkout src (without doing the normal 'cvs login' for pserver mode) but this runs over the :pserver: protocol rather than the more troublesome rsh. Naturally, the server had better be running in -R (readonly) mode :-) Notes: svn path=/head/; revision=36427
* | Make cvs really ignore a pserver password when the passwd field of thePeter Wemm1998-05-271-3/+4
| | | | | | | | | | | | | | | | | | CVSROOT/passwd file is empty. A 'cvs login' still seems to be required since the cvs client doesn't seem to believe it's possible to not need a password (yet :-). This is intended for cheap anoncvs use. Notes: svn path=/head/; revision=36422
* | It would help if it compiled. *blush*Peter Wemm1998-05-271-1/+1
| | | | | | | | Notes: svn path=/head/; revision=36421
* | Add a new long flag that causes cvs to ignore the CVSROOT/passwd file.Peter Wemm1998-05-273-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | This is mostly intended for use on freefall where we'd like to provide a passwd file for easy anoncvs mirroring access, but don't want to open up the pserver on freefall itself. While here, some initial tweaks intended for allowing an empty pserver password. I'm not sure that this works yet. Notes: svn path=/head/; revision=36418
* | Remove my hacks for capturing stdout/stderr through the protocol channelPeter Wemm1998-05-271-106/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | while calling libdiff. It's too ugly and not worth the recursion problems when there is a malloc failure (which writes to stderr - now diverted via the buf system, which calls malloc, which causes another error message etc). We can live with the standard artificial slowdown, but reduce the time a bit and only delay when we really need to (ie: when running as a server). The usleep time could probably use some tuning, it basically needs to replace the time that it used to take to fork a large process, exec gnudiff and the time that gnudiff took before writing the initial output. This eliminates a whole mess of other hacks I was considering that changed use of xmalloc to alloca() etc. It was going too fast in the wrong direction. Notes: svn path=/head/; revision=36417
* | .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTPoul-Henning Kamp1998-05-131-1/+1
| | | | | | | | | | | | | | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36014
* | Argh!.. Spot the deliberate mistake that was probably causing thePeter Wemm1998-04-111-1/+1
| | | | | | | | | | | | | | leftover files in /tmp.. (this commit brought to you by 'cvs update -j') Notes: svn path=/head/; revision=35134
* | Tweak from the cvs sources just after the 1.9.26 release:Peter Wemm1998-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | 1998-03-07 Tim Pierce <twp@skepsis.com> * rcs.c (RCS_checkout): Negation bug when checking out symlinks: existence_error should be !existence_error. This shouldn't cause any major merge problems later. Notes: svn path=/head/; revision=34482
* | Merge changes from vendor branch into mainlinePeter Wemm1998-03-1013-829/+2813
| | | | | | | | Notes: svn path=/head/; revision=34467
* | This commit was generated by cvs2svn to compensate for changes in r34461,Peter Wemm1998-03-1047-1853/+4003
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=34462
| * Import cvs-1.9.26 onto vendor branchPeter Wemm1998-03-1060-2682/+6816
| | | | | | | | Notes: svn path=/vendor/cvs/dist/; revision=34461
* | A hack to work around the sleep prior to calling the built-in diff. ThisPeter Wemm1998-02-141-4/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | affects speed of doing 'cvs diff' (in all modes) and 'cvs update' over the network. 1: don't pause at all unless running in server protocol mode. 2: if running in server protocol mode, do a kludge that intercepts the stdout and stderr write functions and diverts them to cvs_output() and cvs_outerr(). Yes, this might be done with fwopen() etc, but that also requires copying "FILE" structs since you can't freopen stdout etc and specify functions at the same time. This HACK will go away once the cvs folks have done their changes to the library version of gnu diff to use the callbacks as mentioned in the comments. Notes: svn path=/head/; revision=33340