CVS to SVN Migration - Problem at Pass 16

praphulla <[email protected]> Fri, 4 Jul 2014 19:00:34 +0530
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <CAHmOXxkd8tQf271WM+-=supL9Xs0N7=qmXM5+Dke5_yKK0a2DA@mail.gmail.com>
------=_Part_3197_1916782035.1404490879367
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
I have registred myself on http://cvs2svn.tigris.org/ having username as
PPA020.

I am currently facing some issues while migrating CVS repository to SVN at
Pass 16. Pass 1 to 15 are successful. But it is failing at Pass 16.

To begin with, I took the CVS Dumps and stored it to C:cvsrepodump\Test and
then new SVN  repository created as PPA020_CVSSVN_1 to hold data from CVS
repository.

I have Python25 and using Collabnet EDGE SVN.

Below is the command to complete Pass16. But it is failing.

C:\unix-utils>Python C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn --e
ncoding=utf-8 --encoding=cp1252 --encoding=cp1140 -s
E:\svn\repositories\PPA020_
CVSSVN_1 --existing-svnrepos c:\cvsrepodump\Test -p 16


Error I am getting is as below.


----- pass 16 (OutputPass) -----
Starting Subversion Repository.
Traceback (most recent call last):
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn", line 70, in <module>
    svn_main(os.path.basename(sys.argv[0]), sys.argv[1:])
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\main.py", line 113, in
svn_ma
in
    main(progname, run_options, pass_manager)
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\main.py", line 96, in
main
    pass_manager.run(run_options)
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\pass_manager.py", line
181, i
n run
    the_pass.run(run_options, stats_keeper)
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\passes.py", line 1756,
in run
    Ctx().output_option.setup(stats_keeper.svn_rev_count())
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\svn_output_option.py",
line 7
29, in setup
    SVNOutputOption.setup(self, svn_rev_count)
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\svn_output_option.py",
line 1
46, in setup
    Ctx().revision_reader.start()
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\checkout_internal.py",
line 6
72, in start
    DB_OPEN_NEW, serializer,
  File "C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\database.py", line 108,
in __
init__
    self.db = anydbm.open(filename, mode)
  File "C:\csvn\Python25\lib\anydbm.py", line 68, in open
    from whichdb import whichdb
  File "C:\csvn\Python25\lib\whichdb.py", line 10, in <module>
    _dbmerror = dbm.error
NameError: name 'dbm' is not defined





Could you please suggest if there are any changes to be done in whichdb.py
or anydbm.py or anyother file.


Best Regards,
Praphulla Pawar

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

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_3197_1916782035.1404490879367
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div>I have registred myself on <a href=3D"h=
ttp://cvs2svn.tigris.org/">http://cvs2svn.tigris.org/</a> having username a=
s PPA020.</div><div>=C2=A0</div><div>I am currently facing some issues whil=
e migrating CVS repository to SVN at Pass 16. Pass 1 to 15 are successful. =
But it is failing at Pass 16.</div>
<div>=C2=A0</div><div>To begin with, I took the CVS Dumps and stored it to =
C:cvsrepodump\Test and then new SVN=C2=A0 repository created as PPA020_CVSS=
VN_1 to hold data from CVS repository.</div><div>=C2=A0</div><div>I have Py=
thon25 and using Collabnet EDGE SVN.</div>
<div>=C2=A0</div><div>Below is the command to complete Pass16. But it is fa=
iling.</div><div>=C2=A0</div><div>C:\unix-utils&gt;Python C:\cvs2svn-2.3.0\=
cvs2svn-2.4.0\cvs2svn --e<br>ncoding=3Dutf-8 --encoding=3Dcp1252 --encoding=
=3Dcp1140 -s E:\svn\repositories\PPA020_<br>
CVSSVN_1 --existing-svnrepos c:\cvsrepodump\Test -p 16</div><div>=C2=A0</di=
v><div>=C2=A0</div><div>Error I am getting is as below.</div><div>=C2=A0</d=
iv><div>=C2=A0</div><div>----- pass 16 (OutputPass) -----<br>Starting Subve=
rsion Repository.<br>
Traceback (most recent call last):<br>=C2=A0 File &quot;C:\cvs2svn-2.3.0\cv=
s2svn-2.4.0\cvs2svn&quot;, line 70, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0=
 svn_main(os.path.basename(sys.argv[0]), sys.argv[1:])<br>=C2=A0 File &quot=
;C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\main.py&quot;, line 113, in svn=
_ma<br>
in<br>=C2=A0=C2=A0=C2=A0 main(progname, run_options, pass_manager)<br>=C2=
=A0 File &quot;C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\main.py&quot;, li=
ne 96, in main<br>=C2=A0=C2=A0=C2=A0 pass_manager.run(run_options)<br>=C2=
=A0 File &quot;C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\pass_manager.py&q=
uot;, line 181, i<br>
n run<br>=C2=A0=C2=A0=C2=A0 the_pass.run(run_options, stats_keeper)<br>=C2=
=A0 File &quot;C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\passes.py&quot;, =
line 1756, in run</div><div>=C2=A0=C2=A0=C2=A0 Ctx().output_option.setup(st=
ats_keeper.svn_rev_count())<br>=C2=A0 File &quot;C:\cvs2svn-2.3.0\cvs2svn-2=
.4.0\cvs2svn_lib\svn_output_option.py&quot;, line 7<br>
29, in setup<br>=C2=A0=C2=A0=C2=A0 SVNOutputOption.setup(self, svn_rev_coun=
t)<br>=C2=A0 File &quot;C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\svn_outp=
ut_option.py&quot;, line 1<br>46, in setup<br>=C2=A0=C2=A0=C2=A0 Ctx().revi=
sion_reader.start()<br>=C2=A0 File &quot;C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs=
2svn_lib\checkout_internal.py&quot;, line 6<br>
72, in start<br>=C2=A0=C2=A0=C2=A0 DB_OPEN_NEW, serializer,<br>=C2=A0 File =
&quot;C:\cvs2svn-2.3.0\cvs2svn-2.4.0\cvs2svn_lib\database.py&quot;, line 10=
8, in __<br>init__<br>=C2=A0=C2=A0=C2=A0 self.db =3D anydbm.open(filename, =
mode)<br>=C2=A0 File &quot;C:\csvn\Python25\lib\anydbm.py&quot;, line 68, i=
n open<br>
=C2=A0=C2=A0=C2=A0 from whichdb import whichdb<br>=C2=A0 File &quot;C:\csvn=
\Python25\lib\whichdb.py&quot;, line 10, in &lt;module&gt;<br>=C2=A0=C2=A0=
=C2=A0 _dbmerror =3D dbm.error<br>NameError: name &#39;dbm&#39; is not defi=
ned</div><div>=C2=A0</div><div>=C2=A0</div><div>
=C2=A0</div><div>=C2=A0</div><div>=C2=A0</div><div>Could you please suggest=
 if there are any changes to be done in whichdb.py or anydbm.py or anyother=
 file.</div><div>=C2=A0</div><div>=C2=A0</div><div>Best Regards,</div><div>=
Praphulla Pawar</div>
</div>

------=_Part_3197_1916782035.1404490879367--