From 86b5fba698855cb4709d6f009e84b4002361f0db Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 13 Dec 2009 20:24:21 -0500 Subject: [PATCH] Adjust Bzr._vcs_revision_id for 1-indexed revision ids. --- libbe/storage/vcs/bzr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2