aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/base.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-01 16:54:30 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-01 16:54:30 -0500
commit97eabcc3657bdc6511baebd79b059ae1589c7e87 (patch)
tree32b896bed9ea94c5fda2e2a68345916dd8c5cea7 /libbe/storage/base.py
parent4d4283ecd654f1efb058cd7f7dba6be88b70ee92 (diff)
parent286c686cb50eb8240fa9b15365d61783279b86a2 (diff)
downloadbugseverywhere-97eabcc3657bdc6511baebd79b059ae1589c7e87.tar.gz
Merged be.html-storage
Added HTTP storage backend and server Serve a local repo on http://localhost:8000 be --repo REPO serve Then connect from other be calls, for example be --repo http://localhost:8000 list
Diffstat (limited to 'libbe/storage/base.py')
-rw-r--r--libbe/storage/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/storage/base.py b/libbe/storage/base.py
index d85627f..aa32ea9 100644
--- a/libbe/storage/base.py
+++ b/libbe/storage/base.py
@@ -27,6 +27,7 @@ from libbe.error import NotSupported
import libbe.storage
from libbe.util.tree import Tree
from libbe.util import InvalidObject
+import libbe.version
from libbe import TESTING
if TESTING == True:
@@ -163,7 +164,7 @@ class Storage (object):
def version(self):
"""Return a version string for this backend."""
- return '0'
+ return libbe.version.version()
def storage_version(self, revision=None):
"""Return the storage format for this backend."""