D4192: changegroup: combine _generatefiles() into generatefiles()
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Aug 9 18:52:27 UTC 2018
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
These were split out in https://phab.mercurial-scm.org/rHGa06aab274aef44ed121a1bd96e907e323c45438a as part of moving the
narrow code into core. They don't need to be separate
functions.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4192
AFFECTED FILES
mercurial/changegroup.py
CHANGE DETAILS
diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -1022,9 +1022,6 @@
else:
linknodes = normallinknodes
- return self._generatefiles(changedfiles, linknodes, commonrevs, source)
-
- def _generatefiles(self, changedfiles, linknodes, commonrevs, source):
repo = self._repo
cl = repo.changelog
progress = repo.ui.makeprogress(_('bundling'), unit=_('files'),
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list