Submitter | Pierre-Yves David |
---|---|
Date | March 5, 2019, 5:39 p.m. |
Message ID | <3f4f517d5ed962a0c2ae.1551807556@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/39081/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/setdiscovery.py b/mercurial/setdiscovery.py --- a/mercurial/setdiscovery.py +++ b/mercurial/setdiscovery.py @@ -216,7 +216,7 @@ class partialdiscovery(object): # this by keeping a persistent cache of children across invocations. children = {} - for rev in repo.changelog.revs(start=min(revsroots)): + for rev in sorted(revs): # Always ensure revision has an entry so we don't need to worry # about missing keys. children.setdefault(rev, [])