##// END OF EJS Templates
changegroup: mark _addchangegroupfiles as module-private...
Augie Fackler -
r26704:d7e61451 default
parent child Browse files
Show More
@@ -361,8 +361,8 b' class cg1unpacker(object):'
361 repo.ui.status(_("adding file changes\n"))
361 repo.ui.status(_("adding file changes\n"))
362 self.callback = None
362 self.callback = None
363 pr = prog(_('files'), efiles)
363 pr = prog(_('files'), efiles)
364 newrevs, newfiles = addchangegroupfiles(repo, self, revmap, trp, pr,
364 newrevs, newfiles = _addchangegroupfiles(
365 needfiles)
365 repo, self, revmap, trp, pr, needfiles)
366 revisions += newrevs
366 revisions += newrevs
367 files += newfiles
367 files += newfiles
368
368
@@ -866,7 +866,7 b' def changegroup(repo, basenodes, source)'
866 # to avoid a race we use changegroupsubset() (issue1320)
866 # to avoid a race we use changegroupsubset() (issue1320)
867 return changegroupsubset(repo, basenodes, repo.heads(), source)
867 return changegroupsubset(repo, basenodes, repo.heads(), source)
868
868
869 def addchangegroupfiles(repo, source, revmap, trp, pr, needfiles):
869 def _addchangegroupfiles(repo, source, revmap, trp, pr, needfiles):
870 revisions = 0
870 revisions = 0
871 files = 0
871 files = 0
872 while True:
872 while True:
General Comments 0
You need to be logged in to leave comments. Login now