projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dc1631
)
Adjust Bzr._vcs_revision_id for 1-indexed revision ids.
author
W. Trevor King
<wking@drexel.edu>
Mon, 14 Dec 2009 01:24:21 +0000
(20:24 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 14 Dec 2009 01:24:21 +0000
(20:24 -0500)
libbe/storage/vcs/bzr.py
patch
|
blob
|
history
diff --git
a/libbe/storage/vcs/bzr.py
b/libbe/storage/vcs/bzr.py
index 7d84415f939c285974c5cb3f2349fbe02efd3037..04cc6c1c4d0ee52bdd871767ee55045ebda08ca6 100644
(file)
--- 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)
\f