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

login
register
mail settings
Submitter phabricator
Date June 26, 2018, 5:57 a.m.
Message ID <differential-rev-PHID-DREV-iyrzzjzhwpquja6pllnz-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/32431/
State Superseded
Headers show

Comments

phabricator - June 26, 2018, 5:57 a.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4990,7 +4990,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: