Patchwork D6166: fix: make the order of the work queue deterministic

login
register
mail settings
Submitter phabricator
Date March 23, 2019, 3:46 p.m.
Message ID <c7f87837a349a100d4acb2a2e556380b@localhost.localdomain>
Download mbox | patch
Permalink /patch/39374/
State Not Applicable
Headers show

Comments

phabricator - March 23, 2019, 3:46 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8f427f7c1f71: fix: make the order of the work queue deterministic (authored by hooper, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6166?vs=14580&id=14591

REVISION DETAIL
  https://phab.mercurial-scm.org/D6166

AFFECTED FILES
  hgext/fix.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/fix.py b/hgext/fix.py
--- a/hgext/fix.py
+++ b/hgext/fix.py
@@ -280,8 +280,8 @@ 
     for rev in sorted(revstofix):
         fixctx = repo[rev]
         match = scmutil.match(fixctx, pats, opts)
-        for path in pathstofix(ui, repo, pats, opts, match, basectxs[rev],
-                               fixctx):
+        for path in sorted(pathstofix(
+                        ui, repo, pats, opts, match, basectxs[rev], fixctx)):
             fctx = fixctx[path]
             if fctx.islink():
                 continue