##// 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 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__(repo):
747 def __call__(self):
749 repo.ui.progress(repo.step, repo.count, unit=_('chunks'),
748 repo.ui.progress(self.step, self.count, unit=_('chunks'),
750 total=repo.total)
749 total=self.total)
751 repo.count += 1
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