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