Comment 5 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 14:28 +0000, Ted Gould wrote:
> On Tue, 2009-09-29 at 10:08 +0000, Jelmer Vernooij wrote:
> > removed:
> > configure.ac
> > added:
> > configure.ac
> It seems like, since bazaar has the file id tracking, to do a diff
> between the to versions rather than trying to emulate the copy. As
> bzr-svn isn't tracking the merge anyway, it seems like the remove/add is
> kind of worst case.
It sounds like you suggest changing this "remove + copy" operation to a
simple "modify" operation on the fly if the copy is from an older
version of the same file. Is that a correct interpretation?

This is unfortunately not possible without severe performance
consequences. If there is no remove+add this means that the file id does
not change, and to prove this we would have to analyse the history of a
particular file to see if it shared history with the file it was copied
from each time we encounter a file copy.

Cheers,

Jelmer

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