From: W. Trevor King Date: Mon, 14 Dec 2009 01:24:21 +0000 (-0500) Subject: Adjust Bzr._vcs_revision_id for 1-indexed revision ids. X-Git-Tag: 1.0.0~59^2~52^2~69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86b5fba698855cb4709d6f009e84b4002361f0db;p=be.git Adjust Bzr._vcs_revision_id for 1-indexed revision ids. --- 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)