bzrlib.version_info

Martin Pool mbp at canonical.com
Mon Aug 28 02:09:55 BST 2006


On 28 Aug 2006, Robert Collins <robertc at robertcollins.net> wrote:
> the version_info format for release_level feels a little constraining - 
> it would be nice to put 'rc1' in there rather than 
> [0, 10, 0, 'candidate', 0]
> 
> (having a serial of 1 to mark rc 2 seems ugly to me)
> Thoughts?

There's no reason why it can't start with rc0.

Keeping the integers separate is useful to make simple tuple comparisons
work if a field ever goes over 9.

'candidate' vs 'rc' is about consistency with Python -- i'm about -0.1
on changing it.

-- 
Martin




More information about the bazaar mailing list