Patchwork [1,of,4] tests: hg log shouldn't need --hidden to show whyunstable template keyword

login
register
mail settings
Submitter Anton Shestakov
Date April 15, 2018, 12:37 p.m.
Message ID <5b7426809d1df5b48620.1523795859@neuro>
Download mbox | patch
Permalink /patch/31080/
State Accepted
Headers show

Comments

Anton Shestakov - April 15, 2018, 12:37 p.m.
# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1523788069 -28800
#      Sun Apr 15 18:27:49 2018 +0800
# Node ID 5b7426809d1df5b486205c87321c9db59e5d1e74
# Parent  24034bcd32fb97d457ef9b9fea3ecc6ac953a09d
tests: hg log shouldn't need --hidden to show whyunstable template keyword
Yuya Nishihara - April 15, 2018, 1:02 p.m.
On Sun, 15 Apr 2018 20:37:39 +0800, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6@dwimlabs.net>
> # Date 1523788069 -28800
> #      Sun Apr 15 18:27:49 2018 +0800
> # Node ID 5b7426809d1df5b486205c87321c9db59e5d1e74
> # Parent  24034bcd32fb97d457ef9b9fea3ecc6ac953a09d
> tests: hg log shouldn't need --hidden to show whyunstable template keyword

Queued, thanks.

Patch

diff --git a/tests/test-obsolete-divergent.t b/tests/test-obsolete-divergent.t
--- a/tests/test-obsolete-divergent.t
+++ b/tests/test-obsolete-divergent.t
@@ -721,11 +721,11 @@  Use scmutil.cleanupnodes API to create d
   $ hg debugwhyunstable 1a2a9b5b0030
   content-divergent: 70d5a63ca112acb3764bc1d7320ca90ea688d671 (draft) predecessor a178212c3433c4e77b573f6011e29affb8aefa33
 
-  $ hg log -r 1a2a9b5b0030 --hidden -T '{whyunstable}\n'
+  $ hg log -r 1a2a9b5b0030 -T '{whyunstable}\n'
   content-divergent: 4:70d5a63ca112 (draft) predecessor a178212c3433
-  $ hg log -r 1a2a9b5b0030 --hidden -T '{whyunstable%"{instability}:{divergentnodes} {reason} {node}\n"}'
+  $ hg log -r 1a2a9b5b0030 -T '{whyunstable%"{instability}:{divergentnodes} {reason} {node}\n"}'
   content-divergent: 4:70d5a63ca112 (draft) predecessor a178212c3433c4e77b573f6011e29affb8aefa33
-  $ hg log -r 1a2a9b5b0030 --hidden -T '{whyunstable%"{instability}:{divergentnodes % " {node} ({phase})"} {reason} {node}\n"}'
+  $ hg log -r 1a2a9b5b0030 -T '{whyunstable%"{instability}:{divergentnodes % " {node} ({phase})"} {reason} {node}\n"}'
   content-divergent: 70d5a63ca112acb3764bc1d7320ca90ea688d671 (draft) predecessor a178212c3433c4e77b573f6011e29affb8aefa33
 
 #if serve