Patchwork D4135: changegroup: key off changelogdone

login
register
mail settings
Submitter phabricator
Date Aug. 9, 2018, 6:15 p.m.
Message ID <c9bfa4e985f163953727b4208f89ee7f@localhost.localdomain>
Download mbox | patch
Permalink /patch/33492/
State Not Applicable
Headers show

Comments

phabricator - Aug. 9, 2018, 6:15 p.m.
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

Patch

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