D4135: changegroup: key off changelogdone

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Thu Aug 9 14:15:52 EDT 2018


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

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)]
 



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list