| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
OK joris@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so zap flags as well.
* Remove code that is now dead.
OK joris@
> Inspired by a diff from Igor Zinovik about unchecked return value.
|
|
|
|
|
| |
directory path to make sure they do not fall outside the CVSROOT
or the working copy directory in a remote setup
|
|
|
|
| |
random stuff going on
|
|
|
|
|
|
| |
expansion options.
OK joris@
|
|
|
|
|
|
| |
now.
OK joris@
|
|
|
|
|
|
|
|
| |
instead use the local variable 'tag' which is filled in by our code
to match the correct tag (specified on the command line, or in Entries);
this way, files do not dissapear when they're suppose to be there
if you are using -rSOMETHING
|
|
|
|
| |
tag (if present) since this breaks certain things;
|
|
|
|
|
|
|
| |
between a named branch and a revision number supplied by -r. This can
be done easier in cvs_write_tagfile directly.
OK joris@
|
|
|
|
|
|
|
|
| |
- allow more then 1 module to be specified per definition
- respect the "!" sign which means: "hey ignore this dir when checking out"
- non alias definitions can now contain files
ok tobias@
|
| |
|
|
|
|
| |
OK joris@
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
remote setups.
OK xsa@
|
| |
|
|
|
|
| |
"Be especially careful with this one" joris@
|
| |
|
|
|
|
|
| |
command that supports such files is "cvs status", therefore properly handle
them in all other commands, too.
|
|
|
|
|
|
|
|
|
|
| |
cvs checkout src/sbin/swapon
cvs checkout -rHEAD src/sbin/swapon
If no date or revision has been supplied, swapon.8 won't be checked out,
but if a revision (even if it is HEAD) or a date (-D) has been supplied,
swapon.8 will be checked out due to modifications in Attic/ after it has
been removed from tree.
|
|
|
|
|
|
| |
during cvs import.
OK niallo@
|
|
|
|
| |
was okay'd by pyr@ and ok by millert@
|
| |
|
|
|
|
| |
the sticky directory tag with it. since -r gets priority.
|
|
|
|
| |
if a given tag is present in the RCSfile or not.
|
| |
|
|
|
|
|
|
|
| |
directory when a client sends us info about a file that is up to date.
instead, remember the file is up to date in our CVS/Entries. Saves us a lot
of headaches on very big trees like src/
|
|
|
|
| |
Requested by ray@, OK joris@
|
|
|
|
| |
OK joris@
|
|
|
|
| |
OK joris@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, files in the 'Attic/' were linked into our filelist as being
'Attic/filename,v' this caused unneeded stress on certain functions
like cvs_file_classify() who had to do pointer voodoo to split out
the 'Attic/' part and do other very weird stuff to normalize the pathname
of these files.
Instead, we handle these files early in the start when we
build the fileslist in cvs_repository_getdir(). When encountering
the 'Attic/' directory, we recurse in it if required but instead of
using the 'Attic/' directory component as our base directory we stick
with the directory name where 'Attic/' resides in, resulting in the
correct filename while maintaining the correct RCSpath for the file.
This made the following things a lot easier:
(and in most cases actually fixed the below points)
- status with files in Attic/.
- checking out HEAD repositories with files in Attic/.
- checking out repositories with -rTAG.
- updating with -rTAG.
and as an added bonus the following now also works:
- correctly creating CVS/Tag in both local and remote mode thus
allowing update/status/and more to work correctly with the tagged tree.
(thanks to the correct handling of -rTAG cases).
- resetting tags with opencvs -A properly works too now.
This is a major step forward into the usability
of OpenCVS when it comes to maintaining multiple tagged trees, the next
logical step would be to fix commiting to branches.
enjoy you -stable cowards.
tested by myself, xsa, niallo and ckuethe
thanks guys!
|
|
|
|
|
| |
Simplifies further size tweaks if needed.
OK niallo@ ray@.
|
|
|
|
|
|
| |
from Mickey.
ok joris@ ray@
|
| |
|
|
|
|
|
|
|
| |
cvs co -rOPENBSD_3_0 works now.
along the way, simplify and rationalise code and fix a few nits.
ok joris@ xsa@ ray@
|
| |
|
|
|
|
|
|
| |
function, should not do any resource freeing.
OK joris@.
|
|
|
|
| |
things. now gcc -Wall and lint are more happy. ok joris@ xsa@
|
|
|
|
|
|
| |
getdirentries(2).
ok otto@
|
|
|
|
|
|
| |
in the old school days and serves no purpose what so ever now.
otto@ mentioned this to me a while ago
|
|
|
|
|
|
| |
this fixes a bug where opencvs update would abort if a link existed that
pointed to a non-existent file/dir
ok joris@
|
| |
|
|
|
|
|
|
| |
it is pretty obvious on itself.
ok niallo@ xsa@
|
| |
|
|
|
|
| |
tested by many, thanks.
|
| |
|
|
|
|
|
|
| |
and fix some warnings that should not come up for certain commands.
ok niallo@ otto@
|
|
|
|
|
|
|
|
|
| |
not mistakenly see a file as Modified while it is not.
As a result, we can remove the very hackish cvs_hack_time() and
GNU cvs and opencvs should almost get along now.
lotsa help and okay The otto@
|
| |
|
|
|
|
|
|
|
| |
copy. Allows obj/ directories to exist (which are typically
symlinks.)
OK joris@
|