User: Password:
Subscribe / Log in / New account

Bazaar on the slow track

Bazaar on the slow track

Posted Sep 11, 2012 22:03 UTC (Tue) by Cyberax (✭ supporter ✭, #52523)
In reply to: Bazaar on the slow track by juliank
Parent article: Bazaar on the slow track

No, I'm talking about the way it does versioning. There is no clear way to unambiguously refer to a commit, because version numbers are repository-dependent and are clearly designed with the idea of the 'central' repository.

For example:
You see that this file has revision 6558. This version is repository-local as there's no way to create a distributed numbering algorithm without synchronization points (mathematically, bzr revisions are a completely ordered set). This fact underlines all the bzr design - it's ridiculously hard to work in a truly distributed manner with bzr. There's even that scary threat of renumbering, where numbers in the trunk _change_.

In comparison, hg and git are truly distributed - they're using hashes to identify commits: This design makes sure that there's no single global ordering of commits, but there is always a clearly-defined local ordering (i.e. git/hg commits form a partially ordered set).

(Log in to post comments)

Bazaar on the slow track

Posted Sep 11, 2012 22:23 UTC (Tue) by james_w (guest, #51167) [Link]

Click "View revision" and you will find the unique id of that revision: That id will never change. The revision numbers are just for convenience when you know the context you are talking about. If you don't know the context then use the ids.

Bazaar on the slow track

Posted Sep 11, 2012 22:32 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link]

Yet almost all bzr tools insist on working and showing revision numbers, rather than the unwieldy global IDs. There are lots more of smaller annoyances in bzr that are simply not present in git/hg.

For instance, try to google your ID - it's not present in any publically-crawled repository viewers.

Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds