Patchwork [03,of,11,V2] test: cleanup verbosity variant from fatelog test

login
register
mail settings
Submitter Boris Feld
Date Oct. 11, 2017, 12:09 p.m.
Message ID <30f0f979da9ca8adceab.1507723789@FB>
Download mbox | patch
Permalink /patch/24724/
State Accepted
Headers show

Comments

Boris Feld - Oct. 11, 2017, 12:09 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1507302319 -7200
#      Fri Oct 06 17:05:19 2017 +0200
# Node ID 30f0f979da9ca8adceaba48fddfb146f5b9cea78
# Parent  be07c4e68161b95e9a083ec940f3b02d494edda7
# EXP-Topic obsfatekeyword
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 30f0f979da9c
test: cleanup verbosity variant from fatelog test

Unlike the '{obsfate}' keyword defined in 'hg-evolve', the definition of hg
fatelog in test-obsmarker-template.t is not verbosity dependent. Remove useless
call to fatelog -v and fatelog -q.

Patch

diff --git a/tests/test-obsmarker-template.t b/tests/test-obsmarker-template.t
--- a/tests/test-obsmarker-template.t
+++ b/tests/test-obsmarker-template.t
@@ -87,13 +87,6 @@ 
   |      json: [["d004c8f274b9ec480a47a93c10dac5eee63adb78"]]
   o  ea207398892e
   
-  $ hg fatelog -q --traceback
-  o  d004c8f274b9
-  |
-  | @  471f378eab4c
-  |/     Obsfate: rewritten using amend as 3:d004c8f274b9 by test1, test2 (between 2001-04-19 04:25 +0000 and 2009-02-13 23:31 +0000);
-  o  ea207398892e
-  
   $ hg fatelog
   o  d004c8f274b9
   |
@@ -101,13 +94,6 @@ 
   |/     Obsfate: rewritten using amend as 3:d004c8f274b9 by test1, test2 (between 2001-04-19 04:25 +0000 and 2009-02-13 23:31 +0000);
   o  ea207398892e
   
-  $ hg fatelog -v
-  o  d004c8f274b9
-  |
-  | @  471f378eab4c
-  |/     Obsfate: rewritten using amend as 3:d004c8f274b9 by test1, test2 (between 2001-04-19 04:25 +0000 and 2009-02-13 23:31 +0000);
-  o  ea207398892e
-  
   $ hg up 'desc(A1)' --hidden
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
@@ -124,7 +110,7 @@ 
   |      json: [["d004c8f274b9ec480a47a93c10dac5eee63adb78"]]
   o  ea207398892e
   
-  $ hg fatelog -v
+  $ hg fatelog
   o  d004c8f274b9
   |
   | @  a468dc9b3633
@@ -153,7 +139,7 @@ 
   |      json: [["a468dc9b36338b14fdb7825f55ce3df4e71517ad"]]
   o  ea207398892e
   
-  $ hg fatelog --hidden -q
+  $ hg fatelog --hidden
   o  d004c8f274b9
   |
   | @  a468dc9b3633
@@ -192,13 +178,13 @@ 
   |      json: [["a468dc9b36338b14fdb7825f55ce3df4e71517ad"]]
   o  ea207398892e
   
-  $ hg fatelog -v
+  $ hg fatelog
   @  d004c8f274b9
   |
   o  ea207398892e
   
 
-  $ hg fatelog -v --hidden
+  $ hg fatelog --hidden
   @  d004c8f274b9
   |
   | x  a468dc9b3633
@@ -1624,11 +1610,6 @@ 
   |    Obsfate: pruned by test (at 1970-01-01 00:00 +0000);
   o  ea207398892e
   
-  $ hg fatelog -v
-  @  471f378eab4c
-  |    Obsfate: pruned by test (at 1970-01-01 00:00 +0000);
-  o  ea207398892e
-  
 Test templates with multiple pruned commits
 ===========================================
 
@@ -1665,7 +1646,7 @@ 
   |    Obsfate: pruned;
   o  ea207398892e
   
-  $ hg fatelog -v --hidden
+  $ hg fatelog --hidden
   x  65b757b745b9
   |    Obsfate: pruned by test (at 1970-01-01 00:00 +0000);
   | x  fdf9bde5129a