##// END OF EJS Templates
changegroup: don't use 'repo' for non-repo 'self'...
Martin von Zweigbergk -
r25573:3e89e67f default
parent child Browse files
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__(repo):
749 repo.ui.progress(repo.step, repo.count, unit=_('chunks'),
750 total=repo.total)
751 repo.count += 1
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