summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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)
* Merge cvs-1.9.xx -> 1.10 changes onto mainline.peter1999-03-1812-369/+1346
| | | | | 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-1821-366/+2713
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.10 onto vendor branch. Merge to follow shortly.peter1999-03-1834-729/+4084
| | | | | | | | Obtained from: cyclic.com
* | 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-031-1/+9
| | | | | | | | | | | | 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.
* | Use readlink correctlyimp1998-09-091-3/+5
| |
* | 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.
* | 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-1028-1809/+3560
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.9.26 onto vendor branchpeter1998-03-1041-2638/+6373
| |
* | 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.
* | Cosmetic cleanups for the local tag support. Since rcs isn't calledpeter1998-01-312-17/+7
| | | | | | | | anymore, don't do all the putenv's for it's benefit.
* | Merge vendor changes to files that we've touched onto mainline.peter1998-01-303-8/+47
| | | | | | | | (If only all import/merges were this trivial :-)
* | This commit was generated by cvs2svn to compensate for changes in r32896,peter1998-01-307-10/+340
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.9.24 since it came quite soon after the snapshot that waspeter1998-01-3010-18/+387
| | | | | | | | | | imported a few days ago. There is very little difference, except that the remote protocol apparently supports wrappers and -k options better.
* | Remove stray filespeter1998-01-261-60/+0
| |
* | missing bracketpeter1998-01-261-0/+1
| |
* | Merge changes from CYCLIC onto main branchpeter1998-01-262-476/+2981
| |
* | Merge changes from CYCLIC branch onto mainline. rcs.[ch] still to come.peter1998-01-2611-882/+1904
| |
* | This commit was generated by cvs2svn to compensate for changes in r32785,peter1998-01-2653-3729/+15342
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.9.23 as at 19980123. There are a number of really nicepeter1998-01-2666-5080/+20222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things fixed in here, including the '-ko' vs. -A problem with remote cvs which caused all files with -ko to be resent each time (which is damn painful over a modem, I can tell you). It also found a heap of stray empty directories that should have been pruned with the -P flag to cvs update but were not for some reason. It also has the fully integrated rcs and diff, so no more fork/exec overheads for rcs,ci,patch,diff,etc. This means that it parses the control data in the rcs files only once rather than twice or more. If the 'cvs diff' vs. Index thing is going to be fixed for future patch compatability, this is the place to do it.
* | Back out my -L change, now "patch -I" usage supposed to get Index:ache1998-01-211-13/+7
| | | | | | | | precedence
* | Fix wrong ---/*** names produced using -L diff optionache1998-01-161-7/+13
| | | | | | | | CVS gurus from info-cvs agrees that previous Index: usage is bogus
* | Allow a -D'date' option to be included with a -r'branch'julian1998-01-122-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | on a checkout. this allows us to do: cd /usr/src/sys cvs update -rRELENGE_2_2 -D"Yesterday" which has been a feature sorely needed for any project with active branches. warning: this breaks on usr.sbin/pkg_install for some reason. everything else works as advertised. (other things allready break on pkg_install, so it's not the fault of this patch, it just falls faul of another bug somewhere) If I had more time I'd make -r always accept the same syntax as -j (tag:data)
* | Fix a serious bug in the recursion processor. When descending a tree,peter1997-10-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the descend can jump several directories down in one hit, eg: when a user mentions multiple directories on the command line, eg: "cvs diff sys/i386/isa/snd sys/sys". The problem is that the chdir()s are pushed/popped to account for this, but the "full path" merely has the last component chopped off on the way back up. This busts lots of things when the recursion is backing up more than one directory (such as in the example). This causes 'cvs diff' to emit bogus Index: lines, 'cvs update' to do really stupid things, 'cvs commit' to record incorrect pathnames etc. I'm not sure that what I've done is quite correct, there seems to be a comment that implies some sort of problem with "." vs. "" equivalence or not, perhaps this is a problem on some other OS's, but I've not (yet) found any problems. This bug has been present since at least cvs-1.8.1. This should fix problems noted by several people including asami and jmg.
* | Fix a braino in the Attic/ removal code for $CVSHeader$ that originatedpeter1997-08-221-1/+1
| | | | | | | | | | | | | | from XFree86. I think this was harmless, the strncmp happened always rather than being optimised out. Submitted by: jdp
* | oops, missed a debug printf somehow..peter1997-08-191-1/+0
| |
* | Redo the $CVSHeader$ support to use code similar to that from David Dawespeter1997-08-191-20/+32
| | | | | | | | | | | | but adapted to run within cvs instead of rcs. The stuff I hacked together didn't strip out "/Attic/" for files on branches when the HEAD version was cvs rm'ed.
* | Apply Bill Fenner's patch for the lost vendor branch bug - I've lookedpeter1997-07-051-0/+2
| | | | | | | | | | | | over the code too and it makes sense to me. PR: 4033
* | remove some stray filespeter1997-06-221-31/+0
| |
* | merge conflictspeter1997-06-228-53/+204
| |
* | This commit was generated by cvs2svn to compensate for changes in r26801,peter1997-06-2216-120/+753
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.9.10peter1997-06-2224-173/+957
| |
* | If the localid is set, don't forget to expand it...peter1997-06-021-0/+1
| |
* | One of the new cvs's features is to be able to run a checker on thepeter1997-05-264-11/+66
| | | | | | | | | | | | | | | | | | | | | | | | log messages after they've been entered. This is more flexible than using the editinfo script since it works for all log message types and doesn't have to deal with trying to run the editor for the user. The problem is that the verifymsg script can't modify the file like editinfo can, which makes it useless for cleaning up the message (as is needed for remote commits etc). This change causes the verifymsg handler to read back the message after the verify script has run and returned an "OK" exit code.
* | Merge conflicts from 970523 importpeter1997-05-233-11/+30
| |
* | This commit was generated by cvs2svn to compensate for changes in r26065,peter1997-05-2322-39/+111
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import a slightly newer version of 1.9.9 (as at 970523) that has fixed apeter1997-05-2325-50/+141
| | | | | | | | | | | | | | | | few more memory leaks and cleaned up getopt usage. These were done shortly after the last one I imported. Very little has changed other than that. (except for some doc updates) Obtained from: cyclic.com
* | Attempt to work around the problem Bruce reported with 'cvs diff -rHEAD'peter1997-05-211-2/+4
| | | | | | | | | | complaining about long-deleted files having been deleted and that there is no diff available.
OpenPOWER on IntegriCloud