[Issue 337] New - Unable to checkout aliased modules

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Issue 337] New - Unable to checkout aliased modules

bkayser
https://hudson.dev.java.net/issues/show_bug.cgi?id=337
                 Issue #|337
                 Summary|Unable to checkout aliased modules
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|issues@hudson
             Reported by|bkayser






------- Additional comments from [hidden email] Sat Mar  3 03:58:50 +0000 2007 -------
The cvs command generated includes the -d workspace option but this fails with
our module definitions, which look like this (in the CVSROOT/modules):

main -a products/main products/buildsystem products/etc

In this case, you get cvs errors like

cvs checkout: existing repository /usr/cvs/products/main does not match
/usr/cvs/products/buildsystem
...

The solution turns out to be adding the -N option.  When combined with -d it
indicates that the directory path should not be shortened to eliminate empty
parent directories, which in this case would be "products."  For some reason
this also eliminates the error.

So perhaps you could add that option to the CVS command or otherwise add an
option to specify it, like a checkbox with "checkout modules without empty
parent directories".

Am using cvs version 1.11.17

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]