[cvsnt] module2 bug, part 2

Bo Berglund Bo.Berglund at system3r.se
Thu Mar 31 09:48:44 BST 2005


modules2 did not work in 2.0.58d, there are several issues with it.
Not even using the syntax from the example in the cvs help file works!

I think you should wait for the fixes in the release version. I have not
yet checked if the fixes are into 2.5.01 yet.
But one thing that screws things up is using the / specifier, and this
is exactly what your examples show....

Search the archive for my discussion with Tony on this very topic about
2-3 weeks ago.

/Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Prochazka, Jan
Sent: den 31 mars 2005 01:12
To: cvsnt at cvsnt.org
Subject: [cvsnt] module2 bug, part 2


I continue to play with modules2 and it looks like it really has some
issues. At least in our CVSNT version 2.0.58d (client and server)

I may be doing something stupid, I hope somebody could clear it up.

Let's consider modules2 entry:

[myProject]
/ = module1
module2
module3


myProject module does not exist in repository, whereas module1,2,3 are
real.

Then when I tried to check out module myProject, by command:
(in myProject) cvs -q -x checkout -r some_branch myProject
CVSROOT=:sspi:... at ...:/rep1

what I expected was really checked out, but the server also produced
many errors like:

cvs server: cannot open directory /rep1/module2/module3: No such file or
directory
cvs server: skipping directory myProject/module2/module3

and 

cvs server: cannot open directory /rep1/module3/someDir/module3: No such
file or directory
cvs server: skipping directory myProject/module3/someDir/module3


The similar thing when i did an update of module2 or module3:

cvs server: skipping directory module2/someDir/module3
cvs server: cannot open directory /rep1/module2/someDir/module3: No such
file or directory

Moreover, module2 appeared as empty subdir of module3 and vice-versa


Well, then I tried this syntax:

[myProject]
/ = module1
module2 = module2
module3 = module3

The same result.


However in case of modules2 section:

[myProject]
/ = module1
dir1 = module2/dir1
dir2 = module2/dir2
module3 = module3

There is no error during myProject checkout and update of dir1 or dir2
is correct. Update of module3 still causes bunch of those recursive
errors and dir1 and dir2 appears as sub dirs of module3.


Does anybody have any idea how to make modules2 works correctly or would
I have go back to modules file ?

Thanks for any hints,
JP


_____________________________________________________________________
This email message, including any attachments, may contain confidential and proprietary information for the sole use of the intended recipient.  If you are not the intended recipient, you are hereby notified that any use, copying or dissemination of this message is strictly prohibited.  If you received this message in error, please notify Brooks Automation, Inc. immediately by reply email or by calling Brooks US Headquarters at +1 978-262-2400. Then delete this message from your system, without making any copy or distribution.  Thank you.
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list