RE: Error while migrating from CVS to SVN

"Lahon, Pabitra" <[email protected]> Wed, 21 Jun 2017 09:38:37 +0000
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <1051D6288007AC47A0614C8DA2D78C1924735357@USA7109MB020.na.xerox.net>
------=_Part_24635_1439652523.1498040434775
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi,

Do you any update on this ?

Thanks and regards

Pabitra Jyoti Lahon
ValueQuiX Engine Development Team
IBM India Pvt Ltd.
Bengaluru. Karnataka, India
Cell : (+91)-99808-33244
Email : [email protected]<mailto:[email protected]>


_____________________________________________
From: Lahon, Pabitra
Sent: Monday, June 12, 2017 4:48 PM
To: '[email protected]' <[email protected]>
Cc: Owens, Mark <[email protected]>; Varshney, Sachin (External) <Sachin=
[email protected]>; Kumaravel, Vani (External) <[email protected]>=
; Dontharaju, Aparna (External) <[email protected]>
Subject: Error while migrating from CVS to SVN


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=
3247072

To unsubscribe from this discussion, e-mail: [[email protected]=
ris.org].
------=_Part_24635_1439652523.1498040434775
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>&nbsp;</div>
<div>Do you any update on this ? </div>
<div style=3D"margin-bottom:12pt;"><font face=3D"Calibri">&nbsp;</font></di=
v>
<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>

<font face=3D"Arial" size=3D"2" color=3D"black"><span style=3D"font-size:11=
pt;">ValueQuiX Engine Development Team</span></font></span></font></div>
<div>IBM India Pvt Ltd.<br>

Bengaluru. Karnataka, India<br>

Cell : (&#43;91)-99808-33244<br>

Email : <a href=3D"mailto:[email protected]"><font color=3D"#0563C1">=
<u>[email protected]</u></font></a></div>
<div><font face=3D"Calibri">&nbsp;</font></div>
<div><font face=3D"Calibri">&nbsp;</font></div>
<div><font face=3D"Calibri">_____________________________________________<b=
r>

<b>From:</b> Lahon, Pabitra <br>

<b>Sent:</b> Monday, June 12, 2017 4:48 PM<br>

<b>To:</b> '[email protected]' &lt;[email protected]&gt;<br>

<b>Cc:</b> Owens, Mark &lt;[email protected]&gt;; Varshney, Sachin (Exte=
rnal) &lt;[email protected]&gt;; Kumaravel, Vani (External) &lt;Van=
[email protected]&gt;; Dontharaju, Aparna (External) &lt;Aparna.Donthar=
[email protected]&gt;<br>

<b>Subject:</b> Error while migrating from CVS to SVN </font></div>
<div><font face=3D"Calibri">&nbsp;</font></div>
<div><font face=3D"Calibri">&nbsp;</font></div>
<div>Hi,</div>
<div>&nbsp;</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>&nbsp;</div>
<div>cvs2svn --verbose --use-cvs --svnrepos=3D/migration_POC/svn --trunk=3D=
trunk /migration_POC/cvs 2&gt;&amp;1 | tee ~/cvs2svn.out</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>/VQXEngine/migration_POC/cvs/MB/OrderSubmit/OrderExport/src/datalayer/=
mbdbgen.cfg,v</div>
<div>Traceback (most recent call last):</div>
<div>&nbsp; File &quot;../cvs2svn-2.4.0/cvs2svn&quot;, line 70, in &lt;modu=
le&gt;</div>
<div>&nbsp;&nbsp;&nbsp; svn_main(os.path.basename(sys.argv[0]), sys.argv[1:=
])</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/main.py&quot;, line 113, =
in svn_main</div>
<div>&nbsp;&nbsp;&nbsp; main(progname, run_options, pass_manager)</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/main.py&quot;, line 96, i=
n main</div>
<div>&nbsp;&nbsp;&nbsp; pass_manager.run(run_options)</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/pass_manager.py&quot;, li=
ne 181, in run</div>
<div>&nbsp;&nbsp;&nbsp; the_pass.run(run_options, stats_keeper)</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/passes.py&quot;, line 109=
, in run</div>
<div>&nbsp;&nbsp;&nbsp; walk_repository(project, file_key_generator, cd.rec=
ord_fatal_error),</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py&quot;, li=
ne 1164, in process_project</div>
<div>&nbsp;&nbsp;&nbsp; cvs_file_items =3D pdc.process_file(cvs_path)</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py&quot;, li=
ne 1070, in process_file</div>
<div>&nbsp;&nbsp;&nbsp; return fdc.get_cvs_file_items()</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py&quot;, li=
ne 900, in get_cvs_file_items</div>
<div>&nbsp;&nbsp;&nbsp; self._process_ntdbrs()</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/collect_data.py&quot;, li=
ne 976, in _process_ntdbrs</div>
<div>&nbsp;&nbsp;&nbsp; self._cvs_file_items.imported_remove_1_1(vendor_lod=
_items)</div>
<div>&nbsp; File &quot;/cvs2svn-2.4.0/cvs2svn_lib/cvs_file_items.py&quot;, =
line 574, in imported_remove_1_1</div>
<div>&nbsp;&nbsp;&nbsp; self.root_ids.remove(rev_1_1.id)</div>
<div>KeyError: 8694</div>
<div style=3D"margin-bottom:12pt;"><font face=3D"Calibri">&nbsp;</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">&nbsp;</font></div>
<div><font face=3D"Calibri">&nbsp;</font></div>
<div><font face=3D"Calibri">&nbsp;</font></div>
</span></font>
</body>
</html>

------=_Part_24635_1439652523.1498040434775--