changeset 39000:4cff37564006

changegroup: combine _generatefiles() into generatefiles() These were split out in a06aab274aef as part of moving the narrow code into core. They don't need to be separate functions. Differential Revision: https://phab.mercurial-scm.org/D4192
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 07 Aug 2018 12:44:56 -0700
parents b83e9c503f2f
children a6e1ff40e335
files mercurial/changegroup.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changegroup.py	Tue Aug 07 15:45:56 2018 -0700
+++ b/mercurial/changegroup.py	Tue Aug 07 12:44:56 2018 -0700
@@ -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'),