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

login
register
mail settings
Submitter phabricator
Date June 26, 2018, 8:06 a.m.
Message ID <c2fe4b8d01a362964b369b5a7a4b0cd1@localhost.localdomain>
Download mbox | patch
Permalink /patch/32433/
State Not Applicable
Headers show

Comments

phabricator - June 26, 2018, 8:06 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG854c2ccc800e: terse: pass &quot;clean&quot; and &quot;unknown&quot; 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




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

Patch

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: