Re: CVS2SVN --force-branch not working.

Anzo <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
Hi,
Thanks for your reply..

Now i tried using the options file.
below is what i gave inthe option file.

ExcludeRegexpStrategyRule(r'unlabeled-.*'),
ExcludeRegexpStrategyRule(r'branches/TREE_.*'),
ExcludeRegexpStrategyRule(r'tags/TREE_.*'),
ExcludeRegexpStrategyRule(r'trunk/SMARTLIFE'),
ExcludeRegexpStrategyRule(r'trunk/LICr'),
ExcludeRegexpStrategyRule(r'trunk/JAVA'),

From above, I was able to exclude 'unlabeled' branches but not other
branches.
Also, force branch/tag in option file is not working.
ForceBranchRegexpStrategyRule(r'bugfix_.*'),
ForceTagRegexpStrategyRule(r'bugfix_.*'),

Please let me know if am doing something wrong hear.Thanks a lot!!!

-Anzo



Anzo wrote:
> 
> Hi,
> 
> I'm badly in need of help.I was struggling since 4 weeks no luck though .
> 
> I've a copy of the CVS(6 GB) repository which has been taken from one our
> UNIX MACHINE  to windows 2003 server.I'm trying to migrate the code to
> SVN.
> Below are the commands which i've used on windows.
> 
> 1)  C:\Python27\python cvs2svn    --force-branch=”triod_one_1.2” 
> --force-branch="crome_eight" --exclude=".*" --svnrepos=E:\code\test1  
> E:\code\CVS   --sort="H:\UnxUtils\usr\local\wbin\sort.exe" 
> --encoding="ISO-8859-15"  
> 
> Result  of the above command: It has passed all the passes and it has
> converted only trunk even though i've not passed --trunk-only flag.
> 
> 2)Also we've too many unlabeled branches, so i decided to remove all
> first.So i have used below command
> C:\Python27\python cvs2svn    --exclude=”unlabeled.*”  
> --svnrepos=E:\code\test1  E:\code\CVS  
> --sort="H:\UnxUtils\usr\local\wbin\sort.exe"  --encoding="ISO-8859-15" 
> 
> It didn't work. It has just converted all the code TO SVN repo including
> the unlabeled.I've used exclude in below ways as well.
> --exclude="unlabeled.\*"
> --exclude="unlabeled-.*"
> --exclude="unlabeled.*"
> 
> None of them worked.
> 
> Actually, we've around 9000(branches,tags,trunk) out of which i required
> to convert around 4000 branches,tags,trunk.Kindly help on this.
> 
> Thanks a lot in advance...
> 
> -Anzo
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/CVS2SVN---force-branch-not-working.-tp31001025p31025093.html
Sent from the cvs2svn - users mailing list archive at Nabble.com.

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2708003

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.