D3838: terse: pass "clean" and "unknown" booleans by name for clarity

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Jun 26 04:06:07 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG854c2ccc800e: terse: pass "clean" and "unknown" booleans by name for clarity (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3838?vs=9298&id=9300

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5067,7 +5067,8 @@
         # we need to compute clean and unknown to terse
         stat = repo.status(ctx1.node(), ctx2.node(), m,
                            'ignored' in show or 'i' in terse,
-                            True, True, opts.get('subrepos'))
+                            clean=True, unknown=True,
+                            listsubrepos=opts.get('subrepos'))
 
         stat = cmdutil.tersedir(stat, terse)
     else:



To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list