Comment 9 for bug 438531

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 438531] Re: Imported SVN repo differs from upstream repo

On Tue, 2009-09-29 at 19:24 +0000, Ted Gould wrote:
> On Tue, 2009-09-29 at 19:03 +0000, Jelmer Vernooij wrote:
> > Subversion doesn't have anything like file ids (I assume that's what you
> > mean with the 342340823498?). The only way you can find out if two files
> > are related is by looking at the output of "svn log" and see if they
> > both were copied from the same location at one point in history.
>
> Ah, okay. That's where I was missing the connection. I didn't realize
> that SVN was so... silly. Thanks!
>
> Could there be perhaps an option to run bzr-svn in "slow" mode where
> it'd do this check? It would suck for the first branch of a repository,
> but for people who are migrating to Bazaar it would seem like a very low
> cost over time.
Such an option to svn-import has been proposed in the past. Since the
file ids in such a conversion would be different though, it would mean
that the resulting revision ids would have to be different as well. This
basically means that you wouldn't be able to mix such a "slow branch"
with other bzr-svn operations. I.e. it would be useful for one-time
conversions but not for other uses of bzr-svn.

It seems to me like it would make more sense for "bzr diff" to not care
about file ids in this particular situation and work based on paths
rather than on file ids if that makes more sense.

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>