Age | Commit message (Collapse) | Author |
|
|
|
and in the CVS/Entries file, otherwise ignore it so we correctly
remove it from CVS/Entries.
spotted by krw@
|
|
- all read operations now look for a lock, and wait if present but never
try to lock the tree themselfs anymore.
- all write operations lock the tree where needed.
- commit locks all relevant directories before even attempting to start.
|
|
his responsibility, allows us to reuse the same file list
for multiple callbacks.
|
|
(like import, add, commit), so revert this change until a universal
solution is found.
|
|
only if we are in top directory of a repository.
ok joris
|
|
in the callbacks to verify if this file was specified on the command line.
|
|
actually means and is used for.
|
|
ok joris
|
|
still has some rough edges.
|
|
|
|
revision specified in CVS/Entries if the timestamps mismatch, so
that we do not end up merging a file that was not even modified whenever
it needs a normal patch.
|
|
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@
|