Error while migrating from CVS to SVN
"Lahon, Pabitra" <[email protected]> Mon, 12 Jun 2017 11:17:52 +0000
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <1051D6288007AC47A0614C8DA2D78C192472C872@USA7109MB020.na.xerox.net> |
------=_Part_975_825389156.1498303640409
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi,
We are in the process of migrating source code repository from RCS to SVN. =
We are planning to migrate the code from RCS to CVS first and then CVS to S=
VN. To familiarize with the process, we are running a POC with a subset of =
the source repository. We got the below error while migrating from CVS to S=
VN for this POC. Please find the command used and error that we got:
cvs2svn --verbose --use-cvs --svnrepos=3D/migration_POC/svn --trunk=3Dtrunk=
/migration_POC/cvs 2>&1 | tee ~/cvs2svn.out
/VQXEngine/migration_POC/cvs/MB/OrderSubmit/OrderExport/src/datalayer/mbdbg=
en.cfg,v
Traceback (most recent call last):
File "../cvs2svn-2.4.0/cvs2svn", line 70, in <module>
svn_main(os.path.basename(sys.argv[0]), sys.argv[1:])
File "/cvs2svn-2.4.0/cvs2svn_lib/main.py", line 113, in svn_main
main(progname, run_options, pass_manager)
File "/cvs2svn-2.4.0/cvs2svn_lib/main.py", line 96, in main
pass_manager.run(run_options)
File "/cvs2svn-2.4.0/cvs2svn_lib/pass_manager.py", line 181, in run
the_pass.run(run_options, stats_keeper)
File "/cvs2svn-2.4.0/cvs2svn_lib/passes.py", line 109, in run
walk_repository(project, file_key_generator, cd.record_fatal_error),
File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", line 1164, in process_=
project
cvs_file_items =3D pdc.process_file(cvs_path)
File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", line 1070, in process_=
file
return fdc.get_cvs_file_items()
File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", line 900, in get_cvs_f=
ile_items
self._process_ntdbrs()
File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", line 976, in _process_=
ntdbrs
self._cvs_file_items.imported_remove_1_1(vendor_lod_items)
File "/cvs2svn-2.4.0/cvs2svn_lib/cvs_file_items.py", line 574, in importe=
d_remove_1_1
self.root_ids.remove(rev_1_1.id)
KeyError: 8694
Please guide us how to overcome this error so we can proceed with the migra=
tion.
Thanks and regards
Pabitra Jyoti Lahon
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=3D1670&dsMessageId=3D=
3243684
To unsubscribe from this discussion, e-mail: [[email protected]=
ris.org].
------=_Part_975_825389156.1498303640409
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
#800000 2px solid; } --></style>
</head>
<body>
<font face=3D"Arial" size=3D"2"><span style=3D"font-size:11pt;">
<div>Hi,</div>
<div><font face=3D"Calibri"> </font></div>
<div>We are in the process of migrating source code repository from RCS to =
SVN. We are planning to migrate the code from RCS to CVS first and then CVS=
to SVN. To familiarize with the process, we are running a POC with a subse=
t of the source repository. We got
the below error while migrating from CVS to SVN for this POC. Please find t=
he command used and error that we got:</div>
<div><font face=3D"Calibri"> </font></div>
<div>cvs2svn --verbose --use-cvs --svnrepos=3D/migration_POC/svn --trunk=3D=
trunk /migration_POC/cvs 2>&1 | tee ~/cvs2svn.out</div>
<div><font face=3D"Calibri"> </font></div>
<div><font face=3D"Calibri"> </font></div>
<div>/VQXEngine/migration_POC/cvs/MB/OrderSubmit/OrderExport/src/datalayer/=
mbdbgen.cfg,v</div>
<div>Traceback (most recent call last):</div>
<div> File "../cvs2svn-2.4.0/cvs2svn", line 70, in <modu=
le></div>
<div> svn_main(os.path.basename(sys.argv[0]), sys.argv[1:=
])</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/main.py", line 113, =
in svn_main</div>
<div> main(progname, run_options, pass_manager)</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/main.py", line 96, i=
n main</div>
<div> pass_manager.run(run_options)</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/pass_manager.py", li=
ne 181, in run</div>
<div> the_pass.run(run_options, stats_keeper)</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/passes.py", line 109=
, in run</div>
<div> walk_repository(project, file_key_generator, cd.rec=
ord_fatal_error),</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", li=
ne 1164, in process_project</div>
<div> cvs_file_items =3D pdc.process_file(cvs_path)</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", li=
ne 1070, in process_file</div>
<div> return fdc.get_cvs_file_items()</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", li=
ne 900, in get_cvs_file_items</div>
<div> self._process_ntdbrs()</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py", li=
ne 976, in _process_ntdbrs</div>
<div> self._cvs_file_items.imported_remove_1_1(vendor_lod=
_items)</div>
<div> File "/cvs2svn-2.4.0/cvs2svn_lib/cvs_file_items.py", =
line 574, in imported_remove_1_1</div>
<div> self.root_ids.remove(rev_1_1.id)</div>
<div>KeyError: 8694</div>
<div style=3D"margin-bottom:12pt;"><font face=3D"Calibri"> </font></di=
v>
<div style=3D"margin-bottom:12pt;">Please guide us how to overcome this err=
or so we can proceed with the migration. </div>
<div style=3D"margin-bottom:12pt;">Thanks and regards<br>
</div>
<div><font face=3D"Lucida Handwriting" size=3D"3" color=3D"blue"><span styl=
e=3D"font-size:12pt;">Pabitra Jyoti Lahon<br>
</span></font></div>
<div><font face=3D"Calibri"> </font></div>
<div><font face=3D"Calibri"> </font></div>
<div><font face=3D"Calibri"> </font></div>
</span></font>
</body>
</html>
------=_Part_975_825389156.1498303640409--