git.samba.org
/
jelmer
/
subvertpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e49022
)
Fix version info
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 3 Sep 2007 23:47:09 +0000
(
01:47
+0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 3 Sep 2007 23:47:09 +0000
(
01:47
+0200)
NEWS
patch
|
blob
|
history
__init__.py
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index 3ee1b6f4d88dc3ef81dd271715420139001fd61b..c9c4a7f6f3aadcc3167c30224a5dd7ba57009351 100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-4,6
+4,9
@@
bzr-svn 0.4.2 UNRELEASED
* Fix regression that prevented the "svn+" prefix trick from working.
+ * Export version information so the version is displayed properly
+ in "bzr plugins".
+
bzr-svn 0.4.1 2007-08-26
BUG FIXES
diff --git
a/__init__.py
b/__init__.py
index 1c2b67133f3d901bb176586073bca6b81c90513a..1e7f2b7526b8a766c4bac4d47b7b6b514ed12948 100644
(file)
--- a/
__init__.py
+++ b/
__init__.py
@@
-36,7
+36,14
@@
import workingtree
# versions ending in 'exp' mean experimental mappings
# versions ending in 'dev' mean development version
-__version__ = '0.4.2dev'
+version_info = (0, 4, 2, 'dev', 0)
+
+if version_info[3] == 'final':
+ version_string = '%d.%d.%d' % version_info[:3]
+else:
+ version_string = '%d.%d.%d%s%d' % version_info
+__version__ = version_string
+
COMPATIBLE_BZR_VERSIONS = [(0, 90)]
def check_bzrlib_version(desired):