Error running svn-import ... ghost in ancestry?

Jelmer Vernooij jelmer at samba.org
Fri Mar 23 22:53:03 UTC 2012


Hi Dan,

Am 23/03/12 23:36, schrieb Dan MacMillan:
>
> I think I figured this out.  I have some revisions in my Subversion
> repository which BOTH delete a node, AND create another node by
> copying from the node I'm deleting.  In the same revision.  I think
> Subversion's flexibility is a detriment to me here.  The svn log
> output for that revision follows:
>
>  
>
> ------------------------------------------------------------------------
>
> r*_5152_* | danm | 2009-05-29 10:57:09 -0600 (Fri, 29 May 2009) | 2 lines
>
> Changed paths:
>
>    D /tng/mrld-p3e-activity-property-rollup-svc/branches/api6.2.1
>
>    A /tng/mrld-p3e-activity-property-rollup-svc/trunk (from
> /tng/mrld-p3e-activity-property-rollup-svc/branches/api6.2.1:*_5151_*)
>
>  
>
> Repatriate api6.2.1 branch to trunk.
>
> ------------------------------------------------------------------------
>
>  
>
> This is confusing bzr-svn.  In theory I don't think it should because
> the Node-copyfrom-rev is 5151, which is the revision before this one,
> and in that revision the node I'm copying from still exists.  But I
> guess what I'm doing is kind of silly.
>
I'm curious why bzr-svn is trying to import this branch at all, as it
has been removed. It shouldn't be doing that unless you specify --all,
but in that case it should actually fetch that particular revision.



>  The error is happening when I run bzr svn-import.
>
What version of bzr-svn are you using? And when exactly are you getting
the error? Can you perhaps paste the output when running "bzr
svn-import" with the -Derror option?

Cheers,

Jelmer



>  
>
> *Dan MacMillan | **Integration Specialist**
> **Emerald Associates Inc.**
> **
> **Direct: 403.686.7100 ext 8930**
> **Toll Free: 1.877.316.6005 ext 8930*
>
> * *
>
> *Canada's Exclusive Oracle Primavera Platinum Partner*
>
>  
>
> *From:*bazaar-bounces at lists.canonical.com
> [mailto:bazaar-bounces at lists.canonical.com] *On Behalf Of *Jelmer Vernooij
> *Sent:* Friday, March 23, 2012 16:21
> *To:* bazaar at lists.canonical.com
> *Subject:* Re: Error running svn-import ... ghost in ancestry?
>
>  
>
> Hi Dan,
>
> Am 22/03/12 17:49, schrieb Dan MacMillan:
>
> I'm migrating some of our projects from Subversion into Bazaar and a
> couple of them show errors like this:
>
>  
>
> bzr: ERROR: Could not determine revno for
> {svn-v4:f28f6c95-3c17-0410-b47b-f95b9e4a518a:tng/mrld-p3e-activity-property-rollup-svc/branches/api6.2.1:5152}
> because its ancestry shows a ghost at
> {svn-v4:f28f6c95-3c17-0410-b47b-f95b9e4a518a:tng/mrld-p3e-activity-property-rollup-svc/branches/api6.2.1:5152}
>
>  
>
> I'm not sure how to interpret this.  It seems to be saying it is its
> own ancestor?  Am I reading that right?
>
> It's mostly saying that it's trying to determine the revision number
> for a revision that is not actually present in the repository.
>
> When are you getting this error, exactly?
>
> Cheers,
>
> Jelmer
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20120323/e7f2ebc2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20120323/e7f2ebc2/attachment-0001.pgp>


More information about the bazaar mailing list