aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/bzr.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-13 20:24:21 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-13 20:24:21 -0500
commit86b5fba698855cb4709d6f009e84b4002361f0db (patch)
tree49860e041a1acc419251532c537f8f5d2b0caef0 /libbe/storage/vcs/bzr.py
parent7dc16313f3426640830a79be914be9dc01d08849 (diff)
downloadbugseverywhere-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.py2
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)