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...
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
vcs = module.new()
if matchfn(vcs) == True:
return vcs
- vcs.cleanup()
return VCS()
def vcs_by_name(vcs_name):