diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-01 16:54:30 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-01 16:54:30 -0500 |
commit | 97eabcc3657bdc6511baebd79b059ae1589c7e87 (patch) | |
tree | 32b896bed9ea94c5fda2e2a68345916dd8c5cea7 /libbe/storage/base.py | |
parent | 4d4283ecd654f1efb058cd7f7dba6be88b70ee92 (diff) | |
parent | 286c686cb50eb8240fa9b15365d61783279b86a2 (diff) | |
download | bugseverywhere-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.py | 3 |
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.""" |