diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-13 20:24:21 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-13 20:24:21 -0500 |
commit | 86b5fba698855cb4709d6f009e84b4002361f0db (patch) | |
tree | 49860e041a1acc419251532c537f8f5d2b0caef0 /libbe/storage/vcs/bzr.py | |
parent | 7dc16313f3426640830a79be914be9dc01d08849 (diff) | |
download | bugseverywhere-86b5fba698855cb4709d6f009e84b4002361f0db.tar.gz |
Adjust Bzr._vcs_revision_id for 1-indexed revision ids.
Diffstat (limited to 'libbe/storage/vcs/bzr.py')
-rw-r--r-- | libbe/storage/vcs/bzr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/bzr.py b/libbe/storage/vcs/bzr.py index 7d84415..04cc6c1 100644 --- a/libbe/storage/vcs/bzr.py +++ b/libbe/storage/vcs/bzr.py @@ -120,7 +120,7 @@ class Bzr(base.VCS): if index >= current_revision or index < -current_revision: return None if index >= 0: - return str(index+1) # bzr commit 0 is the empty tree. + return str(index) # bzr commit 0 is the empty tree. return str(current_revision+index+1) |