[cvsnt] modules2 seems not to work still in 2.5.02.2084...

Bo Berglund bo.berglund at telia.com
Thu Sep 8 22:21:12 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


I have entered the following into the modules2 file:
[Advance]
SomeFiles = ModuleXX/NewCommon
Common = ModuleYY/CommonFiles
Source = ModuleXX/Source
/ = !ModuleZZ/NewCommon

On checkout I expected to get this:
Advance
  |-          (contents from ModuleZZ/Newcommon)
  |-SomeFiles (contents from ModuleXX/NewCommon)
  |-Common    (contents from ModuleYY/Commonfiles)
  |-Source    (contents from ModuleXX/Source)

But in actual fact I get this:

Advance
  |-   (contents from ModuleZZ/Newcommon)

And no trace of the three other directories!
What am I doing wrong here????

Experiment 1:
[Advance]
SomeFiles = ModuleXX/NewCommon
Common = ModuleYY/CommonFiles
Source = ModuleXX/Source
#/ = !ModuleZZ/NewCommon

Now the checkout results in the files from the subdirectories coming
out as expected.

Experiment 2:
[Advance]
SomeFiles = ModuleXX/NewCommon
Common = ModuleYY/CommonFiles
Source = ModuleXX/Source
/ = ModuleZZ/NewCommon SecondFileNew.txt

This results in the following message:
cvs server: cannot find module `Advance' - ignored

What is that supposed to mean?

Experiment 3:
[Advance]
SomeFiles = ModuleXX/NewCommon
Common = ModuleYY/CommonFiles
Source = ModuleXX/Source
Test = ModuleZZ/NewCommon SecondFileNew.txt

This checks out the first 3 directories, then fails with this message:
cvs server: Updating Advance/Test
cvs server: cannot open directory /Korvkiosk/ModuleZZ/NewCommon
SecondFileNew.txt: No such file or directory
cvs server: skipping directory Advance/Test

How is one supposed to specify a named selection of files from a
physical module to be checked out into a sandbox folder? It seems not
to work to enter the list of files following the physical module
specification as is done in the modules file.

I *have* looked into the docs (cvs.chm built from the very latest
cvs.dbk in the cvsnt repository) and it does not describe how to
extract single files...
There is a marker in the helpfile though:
(need to be more verbose here: FIXME)

I think that this is really the case, please fill in the voids.
Two especially noticeable items:
1) The declaration of the sandbox root contents using /.
Nothing I tried from the cvs helpfile actually does work except:
/ = ModuleZZ/NewCommon
This extracts the files from this location into / but stops all other
directories from being checked out...

2) How to get single files out
Not described at all...




/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook