You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rob Kramer <ro...@starhub.net.sg> on 2003/09/02 04:32:01 UTC

cvs2svn, loading dump fails.

Hi,

I've converted my cvs repository to a svn dumpfile using cvs2svn. All seems to 
work fine, but when I try to load it to a svn repository I get a failure:

rob@lila:~/subversion/tools/cvs2svn> svnadmin create rob
rob@lila:~/subversion/tools/cvs2svn> svnadmin load rob < cvs2svn-dump
<<< Started new txn, based on original revision 1
     * adding path : trunk ... done.
     * adding path : trunk/CVSROOT ... done.
     * adding path : trunk/CVSROOT/loginfo ... done.

------- Committed revision 1 >>>

<<< Started new txn, based on original revision 2
     * adding path : trunk/CVSROOT/rcsinfo ... done.

[snip]

------- Committed revision 37 >>>

<<< Started new txn, based on original revision 38
     * adding path : branches/mnapi-1-20-ils ...COPIED... done.
     * deleting path : branches/mnapi-1-20-ils/show ... done.
     * deleting path : branches/mnapi-1-20-ils/show32 ... done.
     * deleting path : branches/mnapi-1-20-ils/mnmon ... done.
     * deleting path : branches/mnapi-1-20-ils/CVSROOT ... done.
     * deleting path : branches/mnapi-1-20-ils/mn32 ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/zipmn.bat ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/lib ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/versions ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnassert.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnfmt.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnmem.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/makefile ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnerror.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnanim.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mngfx.asm ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnclip.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/check.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnpcx.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnsfx.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnobject.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnkernel.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mninfo.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnbmp.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnicm.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mngif.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnremote.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/src/mndebug.c ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/include/mn.h ... done.
     * deleting path : branches/mnapi-1-20-ils/mn/include/mnconfig.h ... done.
     * editing path : branches/mnapi-1-20-ils/mn/src/mnimage.c ... done.

[snip]

------- Committed revision 58 >>>

<<< Started new txn, based on original revision 59
     * deleting path : branches/mnapi-1-20-ils/mn/src/mnassert.c ...svn: 
Filesystem has no item
svn: file not found: transaction `1n', path 
`branches/mnapi-1-20-ils/mn/src/mnassert.c'

I'm using head btw. I'm not sure what's supposed to happen here, but I noticed 
there has been a 'delete path' for mnassert.c already in revision 38.. 

Dump was created using 'cvs2svn.py --dump-only /home/rob/home/local/cvsroot'.

Any idea?

Cheers!

    Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn, loading dump fails.

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Tue, Sep 02, 2003 at 12:32:01PM +0800, Rob Kramer wrote:
> Hi,
> 
> I've converted my cvs repository to a svn dumpfile using cvs2svn. All
> seems to work fine, but when I try to load it to a svn repository I
> get a failure:

Unfortunately cvs2svn.py is not perfect and has some bugs in it still :)

Issues have been filed in the Subversion issue tracker.  Your problem
looks sort of familiar, so I would guess it's a known problem, but Karl
would probably be able to say for sure.

You may or may not have more luck with VCP.

See http://svn.clkao.org/revml/branches/svn-perl/lib/VCP/Dest/svn.pm

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn, loading dump fails.

Posted by Max Bowsher <ma...@ukf.net>.
Rob Kramer wrote:
> On Tuesday 02 September 2003 09:25 pm, Max Bowsher wrote:
>> As you have found out, cvs2svn has a few bugs still. Could you try
copying
>> mnassert.c,v to an empty directory, and running cvs2svn on it, to see if
>> that still reproduces the bug?
>
> OK, tried that, and it works OK for just mnassert.c,v.. If I try the same
with
> the entire 'mn' directory (of which mnassert is a part), then it fails
again,
> though in a different file this time.
>
> I guess I'll have to wait a bit longer; if the outstanding issues are
resolved
> then mine may be too..

Alternatively - *make* you problem an outstanding issue.

How big is a .tar.bz2 of the mn directory?
Does it contain private data?

If <1MB, and non-private, file an issue with the necessary data for
reproduction.
If >1MB, or private, then lets discuss ways to censor/reduce the data.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn, loading dump fails.

Posted by Rob Kramer <ro...@starhub.net.sg>.
On Tuesday 02 September 2003 09:25 pm, Max Bowsher wrote:
> As you have found out, cvs2svn has a few bugs still. Could you try copying
> mnassert.c,v to an empty directory, and running cvs2svn on it, to see if
> that still reproduces the bug?

OK, tried that, and it works OK for just mnassert.c,v.. If I try the same with 
the entire 'mn' directory (of which mnassert is a part), then it fails again, 
though in a different file this time.

I guess I'll have to wait a bit longer; if the outstanding issues are resolved 
then mine may be too..

Cheers!

   Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn, loading dump fails.

Posted by Max Bowsher <ma...@ukf.net>.
Rob Kramer wrote:
> Hi,
>
> I've converted my cvs repository to a svn dumpfile using cvs2svn. All
seems to
> work fine, but when I try to load it to a svn repository I get a failure:
>
> rob@lila:~/subversion/tools/cvs2svn> svnadmin create rob
> rob@lila:~/subversion/tools/cvs2svn> svnadmin load rob < cvs2svn-dump
...
> <<< Started new txn, based on original revision 59
>      * deleting path : branches/mnapi-1-20-ils/mn/src/mnassert.c ...svn:
> Filesystem has no item
> svn: file not found: transaction `1n', path
> `branches/mnapi-1-20-ils/mn/src/mnassert.c'
>
> I'm using head btw. I'm not sure what's supposed to happen here, but I
noticed
> there has been a 'delete path' for mnassert.c already in revision 38..
>
> Dump was created using 'cvs2svn.py --dump-only
/home/rob/home/local/cvsroot'.
>
> Any idea?

As you have found out, cvs2svn has a few bugs still. Could you try copying
mnassert.c,v to an empty directory, and running cvs2svn on it, to see if
that still reproduces the bug?

If it does, and your repository does not contain private data, you could
file an issue in IssueZilla, and attach (compressed) mnassert.c,v to assist
in tracking down the bug.

If the repository does contain private data, you could remove it whilst
still preserving the revision structure, by deleting all contents between
the pairs of '@' characters following "text" and "log" for each revision.
This censored RCS file would probably also reproduce the bug.


Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org