[cvsnt] cvs export/checkout with tag
Slothouber F (Frans) (InTraffic)
Frans.Slothouber at InTraffic.nl
Wed Mar 21 12:25:30 GMT 2007
> On Wed, 14 Mar 2007 11:46:18 +0100, "Slothouber F (Frans) (InTraffic)"
> <Frans.Slothouber at InTraffic.nl> wrote:
> ... snip ...
> >In an empty directory I run:
> > C:\pws\Sandbox3>cvs export -r Mod2Tag mod1
> >and get:
> > cvsnt export: Updating mod1
> > cvsnt export: Updating mod1/Test
> >The directory stays empty though. So no files were checked out,
> >but also not error message was given about the tag.
> There are no files in your output..
> So the export was correct. It should not excract any files that do not
> carry the tag you asked for and this is exactly what happens. No error
> And why should CVSNY give you an error if the export doesn't find a
> particular tag? It's purpose is to give you the files that carry that
> tag and it finds none so it gives you none. Correct behaviour.
> Directories are not versioned or tagged so they get created.
I can live with that.
It is not very consistent though.
cvsnt does give an error message if you export a module with a
I request a module with a tag that does not exists in that particular
module, so I expect
a similar error message.
cvs export -r FooBar a_module
cvsnt [export aborted]: no such tag FooBar
> >With a:
> > C:\pws\Sandbox3>cvs -t checkout -r Mod2Tag mod1
> >I get:
> ... snip ...
> > cvs checkout: in directory .:
> > cvs checkout: cannot open CVS/Entries for reading: No such file or
> > 11:30:20: -> unlink_file_dir(mod1)
> >Which gives an error message, but not the one I expected :)
> This is probably caused by the fact that nothing was checked out
> (nothing matched) and CVSNT did not have a check for this while
> creating the admin files in xx/CVS.
> But is it really an *error* message???
It looks like an error message.
The problem is that this is a confusing message.
If I, by mistake mispell a tag, I end up with cvs telling me that
it can not open a file for reading. This leaves me with the impression
there is something wrong with my directory structure or file protection
This first happened under VMS, which has quite elaborate file protection
so I spend quite some time trying to figure out what was wrong. But
wrong, it was just a misspelled tag.
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.
More information about the cvsnt