summaryrefslogtreecommitdiffstats
path: root/contrib/cvs
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug that shows up when checking out files by date with thejdp2000-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
* Merge changes from 1.10.7 -> 1.11 into mainline. Note that the oldpeter2000-10-0221-1141/+1257
| | | | anoncvs no-password hack is gone and is replaced by the official version.
* This commit was generated by cvs2svn to compensate for changes in r66525,peter2000-10-0271-5094/+9584
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.11 onto vendor branch.peter2000-10-0291-6219/+10838
| |
* | Missing quotepeter2000-09-251-1/+2
| | | | | | | | | | PR: misc/19745 Submitted by: Tony Finch <dot@dotat.at>
* | Use X x X's in mkstemp().kris2000-01-101-1/+1
| |
* | I believe this fixes the problem certain people have been seeing when doingpeter2000-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..
* | Unmangle cvs's MD5* calls.peter1999-12-111-0/+15
| |
* | Take a shot at using mkstemp() since we have a __warn_references() onpeter1999-12-112-1/+22
| | | | | | | | the other temporary file creation functions..
* | Merge error. rcs_lockfile is freed after unlock.peter1999-12-111-2/+0
| |
* | Update for 1.10.7 update.peter1999-12-111-12/+6
| |
* | Merge cyclic changes from 1.10.7 into our mainline. I did this seperatelypeter1999-12-111-182/+301
| | | | | | | | | | as cvs update -j had kittens over the whole thing and I ended up merging it by hand.
* | Merge cyclic changes for 1.10.7 only our mainline.peter1999-12-1115-664/+1974
| |
* | Revert to vendor version. Sigh, this left the vendor branch becausepeter1999-12-111-1/+2
| | | | | | | | of a fix for a y2k non-problem. :-(
* | This commit was generated by cvs2svn to compensate for changes in r54427,peter1999-12-1191-2114/+10401
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.10.7. There are a number of nasty bugs that have been fixed.peter1999-12-11108-2956/+12644
| | | | | | | | Obtained from: cyclic.com
* | Add maintainer tag, and add a description of a few more things we'vepeter1999-12-081-0/+11
| | | | | | | | added/changed locally for FreeBSD.
* | Call isspace() directly to get rid of an objectionable include.obrien1999-12-041-3/+2
| |
* | Document the .cvsrc "cvs" option for global options.peter1999-12-041-0/+9
| |
* | Support the environtmental var "CVS_OPTIONS". Which can hold a set ofobrien1999-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
* | If running on the client side of a remote commit, don't reject root whenpeter1999-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
* | Document -R.obrien1999-09-111-0/+8
| |
* | Fixed style bugs in FreeBSD changes. KNF style doesn't apply to gnubde1999-07-041-4/+4
| | | | | | | | sources.
* | Don't assume branch heads are alive.. (related to previous change to thepeter1999-05-101-1/+2
| | | | | | | | older 1.9.26 baseline)
* | Zap files not in cvs-1.10peter1999-04-052-427/+0
| |
* | Stray files that used to be in 1.9.x that are not in 1.10peter1999-04-051-71/+0
| |
* | Merge cvs-1.9.xx -> 1.10 changes onto mainline.peter1999-03-1814-452/+1385
| | | | | | | | | | Changes of significance include the top level CVS directory being optional and defaulting to off..
* | Merge cvs-1.9.xx -> 1.10 changes onto mainline.peter1999-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).
* | This commit was generated by cvs2svn to compensate for changes in r44852,peter1999-03-1851-1443/+4222
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.10 onto vendor branch. Merge to follow shortly.peter1999-03-1866-1889/+5632
| | | | | | | | Obtained from: cyclic.com
* | Tidy logic in sccs2rcs,danny1999-01-152-3/+4
| | | | | | | | | | | | Fix y2kbug "19$year" in log.pl PR: 9501 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* | Yet another y2k bug. (printf("19%s %s", $3, $4);)danny1999-01-151-1/+1
| |
* | Fixed typo in previous commit. oops.dillon1998-12-031-1/+1
| |
* | Reviewed by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, cvs-all@freebsd.orgdillon1998-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.
* | -v to show compiled in paths doesn't seem to exist.obrien1998-10-041-3/+1
| | | | | | | | | | PR: docs/7912 Submitted by: Stephen J. Roznowski <sjr@home.net>
* | Use readlink correctlyimp1998-09-091-3/+5
| |
* | Spelling corrections.jkoshy1998-06-031-1/+1
| | | | | | | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net>
* | If we are logging into a cvs pserver with the username of "anoncvs",peter1998-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 :-)
* | Make cvs really ignore a pserver password when the passwd field of thepeter1998-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.
* | It would help if it compiled. *blush*peter1998-05-271-1/+1
| |
* | Add a new long flag that causes cvs to ignore the CVSROOT/passwd file.peter1998-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.
* | Remove my hacks for capturing stdout/stderr through the protocol channelpeter1998-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.
* | .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTphk1998-05-131-1/+1
| | | | | | | | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* | Argh!.. Spot the deliberate mistake that was probably causing thepeter1998-04-111-1/+1
| | | | | | | | leftover files in /tmp.. (this commit brought to you by 'cvs update -j')
* | Tweak from the cvs sources just after the 1.9.26 release:peter1998-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.
* | Merge changes from vendor branch into mainlinepeter1998-03-1013-829/+2813
| |
* | This commit was generated by cvs2svn to compensate for changes in r34461,peter1998-03-1047-1853/+4003
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.9.26 onto vendor branchpeter1998-03-1060-2682/+6816
| |
* | A hack to work around the sleep prior to calling the built-in diff. Thispeter1998-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.
* | Reduce the sleep(1) inbetween each diff, as suggested by bde some timepeter1998-02-081-2/+4
| | | | | | | | ago. The real fix is rather large.
OpenPOWER on IntegriCloud