diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-28 13:22:27 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-28 13:22:27 -0500 |
commit | e0e7328742b92cb5e08aeec348fce966375d7d52 (patch) | |
tree | c9a1a14cbe6213b2ad9c23bbdfac63db121aba2b /libbe/storage/vcs/bzr.py | |
parent | c90044dff5feaf5f43fee9e8559fecec2ec60091 (diff) | |
download | bugseverywhere-e0e7328742b92cb5e08aeec348fce966375d7d52.tar.gz |
Updated Git backend to support .children(revision).
+ some minor fixes to vcs/base.py and vcs/bzr.py
Also removed .be/id-cache, which should never have been versioned in
the first place.
Diffstat (limited to 'libbe/storage/vcs/bzr.py')
-rw-r--r-- | libbe/storage/vcs/bzr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/storage/vcs/bzr.py b/libbe/storage/vcs/bzr.py index d6e7799..397267a 100644 --- a/libbe/storage/vcs/bzr.py +++ b/libbe/storage/vcs/bzr.py @@ -129,7 +129,7 @@ class Bzr(base.VCS): cmd.run(filename=path, revision=revision) except bzrlib.errors.BzrCommandError, e: if 'not present in revision' in str(e): - raise base.InvalidID(path, revision) + raise base.InvalidPath(path, root=self.repo, revision=revision) raise return cmd.outf.getvalue() @@ -154,7 +154,7 @@ class Bzr(base.VCS): cmd.run(revision=revision, path=path) except bzrlib.errors.BzrCommandError, e: if 'not present in revision' in str(e): - raise base.InvalidID(path, revision) + raise base.InvalidPath(path, root=self.repo, revision=revision) raise children = cmd.outf.getvalue().rstrip('\n').splitlines() children = [self._u_rel_path(c, path) for c in children] |