combine multiple cvs projects into one svn project
Susi Sorglos <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
hi,
here is my scenario:
cvs projects:
cvsrepos/superproj/proj1/...
cvsrepos/superproj/proj2/...
cvsrepos/superproj/proj3/...
there are tags and branches across these projects.
wanted structure in svn:
svnrepos/superproj/trunk/proj1/...
svnrepos/superproj/trunk/proj2/...
svnrepos/superproj/trunk/proj3/...
for a common branch BRANCH_X in cvs:
svnrepos/superproj/branches/BRANCH_X/proj1/...
svnrepos/superproj/branches/BRANCH_X/proj2/...
svnrepos/superproj/branches/BRANCH_X/proj3/...
for a common tag in cvs TAG_Y:
svnrepos/superproj/tags/TAG_Y/proj1/...
svnrepos/superproj/tags/TAG_Y/proj3/...
using
...
run_options.add_project(
r'/home/cvs/cvsrepos/superproj/proj1',
trunk_path=r'superproj/trunk/proj1',
branches_path=r'superproj/branches/',
tags_path=r'superproj/tags/',
symbol_transforms=[
# Convert backslashes into forward slashes:
ReplaceSubstringsSymbolTransform('\\','/'),
# Eliminate leading, trailing, and repeated slashes:
NormalizePathsSymbolTransform(),
],
symbol_strategy_rules=[] + global_symbol_strategy_rules,
) ...
run_options.add_project(
r'/home/cvs/cvsrepos/superproj/proj2',
trunk_path=r'superproj/trunk/proj2',
branches_path=r'superproj/branches/',
tags_path=r'superproj/tags/',
symbol_transforms=[
# Convert backslashes into forward slashes:
ReplaceSubstringsSymbolTransform('\\','/'),
# Eliminate leading, trailing, and repeated slashes:
NormalizePathsSymbolTransform(),
],
symbol_strategy_rules=[] + global_symbol_strategy_rules,
) ...
will lead to a "The following paths are not disjoint: superproj/branches/BRANCH_X ..." error for tags/branches across several cvs projects.
Question:
How can i allow the joint tags/branches?
Or what other workaround could be approached?
Thanks a lot,
S.
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2380898
To unsubscribe from this discussion, e-mail: [[email protected]].