A few thoughts on foreign integration...

Jelmer Vernooij jelmer at samba.org
Tue Oct 19 01:34:42 BST 2010


On Mon, 2010-10-18 at 18:57 -0400, John Szakmeister wrote:
> On Mon, Oct 18, 2010 at 5:16 PM, Jelmer Vernooij <jelmer at samba.org> wrote:
> [snip]
> > This doesn't sound right. Are you using dpush? If you're using regular
> > push the file ids won't change. What sort of conflicts are you getting?
> 
> No, I'm using straight push.  However, the other end is using
> Subversion (not Bazaar), so when they integrate our current version of
> the branch, and I merge in their branch, that's when the conflicts
> happen.  It all makes sense.  Bazaar doesn't know the appearance of
> the file was because someone merged my branch into their branch.  So,
> it does exactly what it should do, and assigning the file (or dir) a
> new file id.  File ids hurt when doing this foreign integration stuff.
> :-)  There is more than just me on my end, so rebasing or killing all
> our branches and re-pulling is a non-starter too.
> 
> Just to recap, here is what's happening:
> 
> * We branch their trunk
> * We make some changes and push them into our branch in SVN
> * They use SVN and merge the changes back into trunk
> * We merge the latest trunk, and get conflicts on any file or
> directory that we added
> 
> I hope that makes sense. :-)
Yep, that does make sense. Thanks for the explanation.

So, this is a problem that we've encountered in some other situations as
well (the "parallel imports" problem overlap with this one, for
example). Various solutions have been proposed, but they either haven't
been worked out in detail (e.g. path tokens) or have other issues (file
id aliases). 

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20101019/80effe8b/attachment.pgp 


More information about the bazaar mailing list