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.
Nicolás Donoso wrote: > Hi, > > I try to use module2 file with regex but i have same problems, i think tha > i'm write an wrong regex: > > My repository tree: > > cvsrep/ > ...........dir1/ > ...................dir2/ > ..........................dir4/ > .................................dir7/ > .................................dir8/ > ..........................dir5/ > ..........................dir6/ > ..........................file1.txt > ..........................file2.txt > ..........................file3.txt > > where all directories conteins files > > My module2 file > > [myModule2] > / = dir1/dir1 (file1.txt$|dir4/*$) > > then I expect to get de following tree when checkout myModule2 > > myModule2/ > ...................dir4/ > ..........................dir7/ > ..........................dir8/ > ....................file1.txt > > but i only get : > > myModule2/ > ...................dir4/ > ....................file1.txt > The regex only applies to a single filename (btw the regex as written doesn't make a lot of sense - you've just said 'anything beginning dir4 with zero or more slashes' which is a bit redundant). Try something like: [myModule2] / = dir1/dir1 (^file1.txt$) dir4 = dir1/dir4 Tony