[cvsnt] cvs export/checkout with tag
Bo.Berglund at system3r.se
Tue Mar 13 16:33:14 GMT 2007
Cannot confirm the erroneous export of files matching HEAD.
Which CVSNT version are you using?
I did the following test in an empty dir:
cvs export -r TagExistingElsewhere MyModule
This resulted in a long wait and then nothing was exported (as
When I repeated the same command it finished very quickly. Looks like
whatever was done during the long wait was cached by CVS.
Then I changed to:
cvs export -r TagNotExistingAnywhere MyModule
The result was (after almost 2 minutes!):
cvs [export aborted]: no such tag TagNotExistingAnywhere
I have to agree with Frans that this is very strange indeed even though
my result is not like his in that I don't get any exported files at all.
But the logic seems flawed anyway, why should CVSNT scan the whole
repository for the supplied tag?
It seems much more logical to check the requested module for the tag
during the export of the files in the module that match the call.
It serves absolutely no purpose to look in all other zillions of files
located outside the requested module for the existence of the requested
Why not simply go in and export the files on the requested tag and if a
file does not carry the tag then *skip* it?????
It looks like that is exactly what is done *after* the repository-global
1) CVSNT finds the tag somewhere else in the repository
2) No file in the requested module carries that tag.
If the tag search is failed then there is a cvs error message instead of
just a no-op....
My tests were done on CVSNT 2.5.03.2382 on a Win2003 server.
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Slothouber F (Frans) (InTraffic)
Sent: den 13 mars 2007 16:58
To: cvsnt at cvsnt.org
Subject: [cvsnt] cvs export/checkout with tag
Just wondering if the following observation is correct.
I recently tried a
cvs export -r testtag mymodule
where testtag is a tag that is not present anywhere in the module
To my surprise cvs happily exported mymodule. Turned out that 'testtag'
present in some other module in the repository.
I had expected that cvs would report an error if I try to checkout
a tag that does not exist in the module. Since I specifically ask for
Instead it looks like cvs will browse the whole repository looking for
the tag and export
the head of the module if the tag is found somewhere.
This probably also explains why out repository has become so slow
Our repository is 6 Gig at the moment, and each time we checkout a
or a tag it takes about 3 minutes for the checkout to start.
Deze e-mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht
niet voor u bestemd is, verzoeken wij u deze e-mail direct aan ons te
retourneren en daarna te vernietigen. In dit geval is het ook niet
toegestaan deze e-mail en de inhoud daarvan te gebruiken, kopieren of
openbaar te maken aan derden. Onze onderneming sluit elke
aansprakelijkheid uit in verband met het niet juist, onvolledig of niet
tijdig overkomen van de informatie in deze e-mail. InTraffic B.V. /
Nieuwegein / Kamer van Koophandel 30188133.
This e-mail and its contents are confidential and may be legally
privileged. If this e-mail is not intended for you, please contact us
immediately by reply e-mail and destroy the e-mail. In this case, please
do not use, copy or disclose the e-mail and its contents to anyone. Our
company is liable neither for the proper and complete transmission of
the information in this e-mail nor for any delay in its receipt.
InTraffic B.V. / Nieuwegein / Chamber of Commerce 30188133.
cvsnt mailing list
cvsnt at cvsnt.org
More information about the cvsnt