What constitutes the "identity" of a changeset?
jelmer at samba.org
Fri Mar 28 19:51:45 GMT 2008
On Fr, 2008-03-28 at 19:46 +0000, James Westby wrote:
> On Fri, 2008-03-28 at 19:21 +0000, Paul Moore wrote:
> > The other day I hit a problem with Bazaar which makes me thing that
> > changeset identity is handled differently in Bazaar, and I can't find
> > a concise explanation of what constitutes identity in Bazaar.
> > Just to explain, the problem I hit was in using the bzr-svn plugin. I
> > was trying to start a branch from one place (a local svnclone mirror,
> > IIRC) and then pull further changes from the original repository (over
> > http). I got an error saying that the branches "were unrelated". But
> > they were, in some fundamental sense, the same changes - only the
> > source differed. In Mercurial terms, I believe they would have been
> > the same. Possibly if the 2 sources had been pure Bazaar repositories
> > they would have been the same - it may be that bzr-svn cannot make
> > such strong changeset identity guarantees simply because of the
> > limitations of Subversion.
> That's exactly the problem. bzr-svn trades off somethings in return
> for gaining others. It uses the repository to provide determinstic
> revision ids so that bzr can identify two separate bzr-svn branches
> as being related. However it can't match up revisions from two
> separate svn repositories, as it has no idea whether they are related
> or not.
It can actually match up those revisions if they were pushed into the
repository using bzr-svn.
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 307 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080328/aea06d8a/attachment-0001.pgp
More information about the bazaar