bzr revno always an integer?
Matthew D. Fuller
fullermd at over-yonder.net
Sat May 21 08:37:14 UTC 2011
On Sat, May 21, 2011 at 01:34:05AM -0700 I heard the voice of
Chris Hecker, and lo! it spake thus:
>
> Will `bzr revno` always return a simple integer, or can it be
> nnnn.n.n? In logs with merges and whatnot the other levels can have
> .'s in them, but can the current revision ever look like that?
>
> I know the revno's won't match up between different branches, but on
> a single branch with pushes and pulls and merges it will still
> monotonically increment locally (assuming no update -r or anything),
> or am I misunderstanding?
Plain 'revno' is the revno for the head of the branch, which by
definition will always be integral. 'revno --tree' though may not be.
You can't necessarily assume monotonic increase though, unless it only
moves via commit, because of the various ways the history shape can
change over pushes and pulls.
--
Matthew Fuller (MF4839) | fullermd at over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
More information about the bazaar
mailing list