diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-13 23:25:07 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-13 23:25:07 -0500 |
commit | 7addcc4aff8d391765b22d8f095afba739489511 (patch) | |
tree | 9386f09400e2d840990ca276c28b868a64f31022 | |
parent | b1ddf38a32c49f7e90168014c9ec1efce86cf1fb (diff) | |
download | bugseverywhere-7addcc4aff8d391765b22d8f095afba739489511.tar.gz |
The VCS storage backends are all mostly working now.
Running
python test.py libbe.storage.vcs
yields some EmptyCommit problems, an issue with bzr revision ids, and
some trouble with git's remove(), but nothing too critical.
On the bright side, now
./be list
Detects and uses the bzr backend :).
Onwards to moving over the remaining commands...
-rw-r--r-- | libbe/storage/__init__.py | 3 | ||||
-rw-r--r-- | libbe/storage/vcs/base.py | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/libbe/storage/__init__.py b/libbe/storage/__init__.py index 5d5b918..c58ec34 100644 --- a/libbe/storage/__init__.py +++ b/libbe/storage/__init__.py @@ -15,8 +15,7 @@ def get_storage(location): Return a Storage instance from a repo location string. """ import vcs - #s = vcs.detect_vcs(location) - s = vcs.vcs_by_name('None') + s = vcs.detect_vcs(location) s.repo = location return s diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index 69e412e..a765a80 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -66,7 +66,6 @@ def _get_matching_vcs(matchfn): vcs = module.new() if matchfn(vcs) == True: return vcs - vcs.cleanup() return VCS() def vcs_by_name(vcs_name): |