Show More
@@ -743,12 +743,11 b' def addchangegroup(repo, source, srctype' | |||||
743 | class prog(object): |
|
743 | class prog(object): | |
744 | step = _('changesets') |
|
744 | step = _('changesets') | |
745 | count = 1 |
|
745 | count = 1 | |
746 | ui = repo.ui |
|
|||
747 | total = expectedtotal |
|
746 | total = expectedtotal | |
748 |
def __call__( |
|
747 | def __call__(self): | |
749 |
repo.ui.progress( |
|
748 | repo.ui.progress(self.step, self.count, unit=_('chunks'), | |
750 |
total= |
|
749 | total=self.total) | |
751 |
|
|
750 | self.count += 1 | |
752 | pr = prog() |
|
751 | pr = prog() | |
753 | source.callback = pr |
|
752 | source.callback = pr | |
754 |
|
753 |
General Comments 0
You need to be logged in to leave comments.
Login now