Rev 3748: Our upstream branch is now 2.7, adjust for now. in file:///v/home/vila/src/bzr/experimental/bzr-py26-compat/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon Oct 20 08:30:37 BST 2008
At file:///v/home/vila/src/bzr/experimental/bzr-py26-compat/
------------------------------------------------------------
revno: 3748
revision-id: v.ladeuil+lp at free.fr-20081020073035-5hghrz62ndx6yu5z
parent: v.ladeuil+lp at free.fr-20081003141925-ig76xu7npxzvlcxk
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: py26-compat
timestamp: Mon 2008-10-20 09:30:35 +0200
message:
Our upstream branch is now 2.7, adjust for now.
* bzrlib/__init__.py:
(_format_version_tuple): Ignore __sub to be able to test against
2.7 (until we set up a true released python-2.6 elsewhere).
-------------- next part --------------
=== modified file 'bzrlib/__init__.py'
--- a/bzrlib/__init__.py 2008-10-01 23:17:47 +0000
+++ b/bzrlib/__init__.py 2008-10-20 07:30:35 +0000
@@ -94,7 +94,7 @@
__sub_string = ''
elif __release_type == 'dev' and __sub == 0:
__sub_string = 'dev'
- elif __release_type in ('alpha', 'beta') and __sub != 0:
+ elif __release_type in ('alpha', 'beta'): # why: and __sub != 0: ? --vila 081005
__sub_string = __release_type[0] + str(__sub)
elif __release_type == 'candidate' and __sub != 0:
__sub_string = 'rc' + str(__sub)
More information about the bazaar-commits
mailing list