changeset 38472:854c2ccc800e

terse: pass "clean" and "unknown" booleans by name for clarity Differential Revision: https://phab.mercurial-scm.org/D3838
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 25 Jun 2018 11:04:17 -0700
parents 09b09fe7ee90
children 9ef9884e5d50
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Jun 25 11:01:11 2018 -0700
+++ b/mercurial/commands.py	Mon Jun 25 11:04:17 2018 -0700
@@ -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: