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

hooper (Danny Hooper) phabricator at mercurial-scm.org
Sat Mar 23 11:46:34 EDT 2019


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

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



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


More information about the Mercurial-devel mailing list