Recording branch points

Aaron Bentley aaron.bentley at utoronto.ca
Sat Sep 9 23:45:47 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
>> There is currently a model mismatch between bzr and Launchpad: the bzr
>> model really only knows about revisions, while Launchpad has an explicit
>> branch model.

I don't think that's a good way of distinguishing the models.  bzr most
definitely has branches.  It's just that creating a new branch
essentially clones the original.

>> This disconnect makes it impossible to reliably[1]
>> determine whether a revision seen by Launchpad in a branch genuinely
>> belongs to that branch or if its part of the ancestry baggage from the
>> parent branch.
>>
>>   [1] as usual, one can imagine heuristics based on the committer and
>> the branch nick, but it would be ugly and fragile.
> 
> Well, to do this, we would have to start creating some sort of UUID for
> each branch, and have it recorded along with the rest of the revision
> properties. As well as being reset by certain operations.

I think that isn't required for launchpad to know what revisions are new
to a branch.  Wouldn't a 'branch-point' marker be enough?

I'm hesitant to add a UUID to branches, because they won't be unique
very long.  Nicks seem more in the spirit of how branches actually behave.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFA0Qb0F+nu1YWqI0RAl4oAKCBlxZmlOulVfLQd56JlKgDaEFmsgCcC0oX
J0OUEB2pm8s66CKl0qDUJLo=
=KPqx
-----END PGP SIGNATURE-----




More information about the bazaar mailing list