summaryrefslogtreecommitdiff
path: root/branch_updater.py
diff options
context:
space:
mode:
Diffstat (limited to 'branch_updater.py')
-rw-r--r--branch_updater.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/branch_updater.py b/branch_updater.py
index 039171f..a908f1d 100644
--- a/branch_updater.py
+++ b/branch_updater.py
@@ -151,6 +151,7 @@ class BranchUpdater(object):
:return: whether the branch was changed or not
"""
from fastimport.helpers import single_plural
+ last_mark = last_mark.lstrip(':')
last_rev_id = self.cache_mgr.revision_ids[last_mark]
revs = list(self.repo.iter_reverse_revision_history(last_rev_id))
revno = len(revs)