##// 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 361 repo.ui.status(_("adding file changes\n"))
362 362 self.callback = None
363 363 pr = prog(_('files'), efiles)
364 newrevs, newfiles = addchangegroupfiles(repo, self, revmap, trp, pr,
365 needfiles)
364 newrevs, newfiles = _addchangegroupfiles(
365 repo, self, revmap, trp, pr, needfiles)
366 366 revisions += newrevs
367 367 files += newfiles
368 368
@@ -866,7 +866,7 b' def changegroup(repo, basenodes, source)'
866 866 # to avoid a race we use changegroupsubset() (issue1320)
867 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 870 revisions = 0
871 871 files = 0
872 872 while True:
General Comments 0
You need to be logged in to leave comments. Login now