aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-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)