Symbol conversion error
James Migue <[email protected]> Tue, 17 Jul 2012 11:20:04 +0100
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <47E3A80544F8E045A2C5B15D3397422B8ABD640302@BTN-SVR-EX-1.RDFGROUP.COM> |
Hi
My stack is:
SLES10
Python 2.4
cvs2svn 2.3.0 / 2.4.0-dev
I am having trouble using cvs2svn. I have multiple CVS repositories that I wish to amalgamate into one, I am led to believe that this is achievable using an options file with the pertinent configuration reproduced below (the rest is standard):
run_options.add_project(
'/data/altroot/Project1',
trunk_path='NewRepo/trunk',
branches_path='NewRepo/branches',
tags_path='NewRepo/tags'
)
run_options.add_project(
'/data/altroot/Project2',
trunk_path='NewRepo/trunk',
branches_path='NewRepo/branches',
tags_path='NewRepo/tags'
)
run_options.add_project(
'/data/altroot/Project3',
trunk_path='NewRepo/trunk',
branches_path='NewRepo/branches',
tags_path='NewRepo/tags'
)
My problem is that when I run csv2svn I receive the following error (there are numerous of these, I have reproduced just one):
ERROR: Problems determining how symbols should be converted:
It is not clear how the following symbols should be converted.
Use --symbol-hints, --force-tag, --force-branch, --exclude, and/or
--symbol-default to resolve the ambiguity.
'TAG_21_4_0' is a tag in 305 files, a branch in 0 files, a trivial import in 0 files, a pure import in 0 files, and has commits in 0 files
Okay so the error and documentation say run with the --write-symbol-info switch, which I do and get the symbol information written to a file. What is confusing me is that the symbol information appears correct, for example here is the entry that relates to the above error:
0 TAG_21_4_0 tag tags/TAG_21_4_0 FIRST_BRANCH
# 'TAG_21_4_0' is a tag in 305 files, a branch in 0 files, a trivial import in 0 files, a pure import in 0 files, and has commits in 0 files
# Possible parents:
# FIRST_BRANCH : 305
# SECOND_BRANCH : 266
# THIRD_BRANCH : 266
# FOURTH_BRANCH : 262
# FIFTH_BRANCH : 260
# SIXTH_BRANCH : 260
# .trunk. : 234
# SEVENTH_BRANCH : 234
It appears to me that cvs2svn has guessed correctly - FIRST_BRANCH is indeed the parent and there does not appear to be any ambiguity with the symbol, cvs2svn has correctly determined that this is a tag only - so why does it fail? Any help appreciated.
Thanks in advance.
James
Please consider the environment before printing this e-mail. Thank you.
This email is intended solely for the use of the individual to whom it is addressed and may contain confidential and/or privileged material. Any views or opinions presented are solely those of the author and do not necessarily represent those of RDF Group. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. If you have received this email in error please forward it to RDF Group.
RDF Group Plc is a company registered in England and Wales. Registered number: 3637683. Registered office: 2 Bartholomews, Brighton, BN1 1HG.
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2991081
To unsubscribe from this discussion, e-mail: [[email protected]].