aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/version.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-25 19:07:09 -0400
committerW. Trevor King <wking@tremily.us>2012-10-25 19:09:45 -0400
commitbed7587fe4910f8e4b892a09675279c5a4ab5484 (patch)
tree932bb56792fcb8130709ccd740f8d40d8164daa9 /libbe/version.py
parent2926e124f78121ca9f0bbf13a757b9cc2e77cb82 (diff)
downloadbugseverywhere-bed7587fe4910f8e4b892a09675279c5a4ab5484.tar.gz
version: use abbreviated SHA instead of explicit _VERSION in master branch
Only official releases get a version number, which should help avoid confusion. If you're running a live checkout, you shouldn't be scared off by SHAs.
Diffstat (limited to 'libbe/version.py')
-rw-r--r--libbe/version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/version.py b/libbe/version.py
index 91818f4..fb629f0 100644
--- a/libbe/version.py
+++ b/libbe/version.py
@@ -41,7 +41,7 @@ except ImportError, e:
}
# Manually set a version string (optional, defaults to bzr revision id)
-_VERSION = '1.0.0'
+#_VERSION = '1.2.3'
def version(verbose=False):
"""
@@ -52,7 +52,7 @@ def version(verbose=False):
if "_VERSION" in globals():
string = _VERSION
else:
- string = version_info['revision']
+ string = version_info['revision'][:8]
if verbose == True:
info = copy.copy(version_info)
info['storage'] = libbe.storage.STORAGE_VERSION