From patchwork Thu Aug 9 18:15:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D4135: changegroup: key off changelogdone From: phabricator X-Patchwork-Id: 33492 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Thu, 9 Aug 2018 18:15:52 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGd2ab0db89465: changegroup: key off changelogdone (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4135?vs=10006&id=10142 REVISION DETAIL https://phab.mercurial-scm.org/D4135 AFFECTED FILES mercurial/changegroup.py CHANGE DETAILS To: indygreg, #hg-reviewers Cc: mercurial-devel diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -633,7 +633,7 @@ # order that they're introduced in dramatis personae by the # changelog, so what we do is we sort the non-changelog histories # by the order in which they are used by the changelog. - if self._ellipses and self._clnodetorev: + if self._ellipses and self._changelogdone: key = lambda n: self._clnodetorev[lookup(n)] return [store.rev(n) for n in sorted(nodelist, key=key)]