You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Patterson <da...@adaptiveinternational.com> on 2003/07/16 02:08:21 UTC

cvs2svn: tag trying to copy non-existant path

Karl,

  cvs2svn generates a nice dumpfile, however, that dumpfile won't load
  into  a repository.  I'm using cvs2svn from r6455 (i.e. missing the
  last coupe of commits).

  The commandline used to generate the dumpfile is:

    cd ~/svn/cvs2svn/
    ./cvs2svn.py -v --dump-only ~/cvs/dealernet

  The error is encountered when loading cvs2svn-dump into a repository
  using:

    mkdir ~/repos
    svnadmin create ~/repos
    svnadmin load ~/repos < ~/svn/cvs2svn/cvs2svn-dump

  The error I see (slightly abbreviated) when doing the load is:

<<< Started new txn, based on original revision 2668
     * adding path : tags/release_1_0_41_32 ...COPIED... done.
     * deleting path :
tags/release_1_0_41_32/database/patches/patch_1_1_42.sql ... done.
     ...<snip>....
     * deleting path : tags/release_1_0_41_32/etc/admin/lex ... done.
     * deleting path :
tags/release_1_0_41_32/etc/admin/mail/monitor_mail.xsl ... done.
     * adding path : tags/release_1_0_41_32/etc/admin/dnet.properties
...COPIED... done.
     * adding path :
tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18 ...svn:
Filesystem has no item
svn: file not found: transaction `224', path
`tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18'


  The offending lines in the dumpfile are:

  
Node-path: tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18
Node-action: add
Node-copyfrom-rev: 2486
Node-copyfrom-path:
/branches/dealernet_1_0/documentum/patches/patch_1_0_41_18

 
  Revision 2486 in the dumpfile contains this:

Node-path: branches/dealernet_1_0/documentum/patches/patch_1_0_41_18
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10

  And if I examine the repository that was left after the load aborted,
  I can see:

danpat@bjorn:~/svn/cvs2svn/repos$ svn ls -v -r 2486
file:///home/danpat/svn/cvs2svn/repos/branches/dealernet_1_0/documentum/patches/
_    2223 eiakhont        0 Aug 27 09:46 patch_1_0_41_10/
_    2209 eiakhont     1414 Aug 23 11:35 patch_1_0_41_10.readme
_    2455 kscarlet        0 Oct 18 12:01 patch_1_0_41_15/
_    2454 kscarlet      951 Oct 18 11:57 patch_1_0_41_15.readme
_    2486 kscarlet        0 Nov 04 12:41 patch_1_0_41_18/
_    2486 kscarlet     1269 Nov 04 12:41 patch_1_0_41_18.readme
danpat@bjorn:~/svn/cvs2svn/repos$ svn ls -v -r 2485
file:///home/danpat/svn/cvs2svn/repos/branches/dealernet_1_0/documentum/patches/
_    2223 eiakhont        0 Aug 27 09:46 patch_1_0_41_10/
_    2209 eiakhont     1414 Aug 23 11:35 patch_1_0_41_10.readme
_    2455 kscarlet        0 Oct 18 12:01 patch_1_0_41_15/
_    2454 kscarlet      951 Oct 18 11:57 patch_1_0_41_15.readme
_    2485 kscarlet     1269 Nov 04 11:31 patch_1_0_41_17.readme

  I can make the data available (under the same conditions that I did
  last time), but the CVS repository is big (100M tar/bzip2'd) and takes
  a while to deal with (couple of hours on this machine).  I can send
  you snippets of the dumpfile if you'd like.

daniel


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

Re: cvs2svn: tag trying to copy non-existant path

Posted by Daniel Patterson <da...@adaptiveinternational.com>.
On Wed, 2003-07-16 at 12:29, kfogel@collab.net wrote:

> Thanks!  I'm pretty sure this is the same bug as
> 
>   http://subversion.tigris.org/issues/show_bug.cgi?id=1421

I sort of thought so too, except that all the evidence suggests that
in *my* repository, the path is indeed there.  I'm probably just missing
a removal, I'll try again once you resolve 1421.

daniel


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

Re: cvs2svn: tag trying to copy non-existant path

Posted by kf...@collab.net.
Daniel Patterson <da...@adaptiveinternational.com> writes:
>   The error is encountered when loading cvs2svn-dump into a repository
>   using:
> 
>     mkdir ~/repos
>     svnadmin create ~/repos
>     svnadmin load ~/repos < ~/svn/cvs2svn/cvs2svn-dump
> 
>   The error I see (slightly abbreviated) when doing the load is:
> 
> <<< Started new txn, based on original revision 2668
>      * adding path : tags/release_1_0_41_32 ...COPIED... done.
>      * deleting path :
> tags/release_1_0_41_32/database/patches/patch_1_1_42.sql ... done.
>      ...<snip>....
>      * deleting path : tags/release_1_0_41_32/etc/admin/lex ... done.
>      * deleting path :
> tags/release_1_0_41_32/etc/admin/mail/monitor_mail.xsl ... done.
>      * adding path : tags/release_1_0_41_32/etc/admin/dnet.properties
> ...COPIED... done.
>      * adding path :
> tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18 ...svn:
> Filesystem has no item
> svn: file not found: transaction `224', path
> `tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18'

Thanks!  I'm pretty sure this is the same bug as

  http://subversion.tigris.org/issues/show_bug.cgi?id=1421

... which I'm working on right now, so no need to send in repro data.
You might want to add yourself to the CC list of that issue so you can
see when it gets resolved (very soon, hopefully).

-Karl

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