changeset 2477:d7f7e8f3b51c

test: rename all olog references Replace them by hg obslog which is more explicit.
author Boris Feld <boris.feld@octobus.net>
date Tue, 23 May 2017 19:21:43 +0200
parents 5bbc756adda4
children a147ea7fb579
files tests/test-evolve-obshistory.t
diffstat 1 files changed, 36 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-evolve-obshistory.t	Wed May 24 18:17:01 2017 +0200
+++ b/tests/test-evolve-obshistory.t	Tue May 23 19:21:43 2017 +0200
@@ -53,7 +53,7 @@
   
 Actual test
 -----------
-  $ hg olog 4ae3a4151de9
+  $ hg obslog 4ae3a4151de9
   @  4ae3a4151de9 (3) A1
   |
   x  471f378eab4c (1) A0
@@ -90,7 +90,7 @@
   x  471f378eab4c (1) A0
        rewritten by test (*) as 4ae3a4151de9 (glob)
   
-  $ hg olog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool
+  $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [
@@ -173,11 +173,11 @@
 Actual test
 -----------
 
-  $ hg olog 'desc(B0)' --hidden
+  $ hg obslog 'desc(B0)' --hidden
   x  0dec01379d3b (2) B0
        pruned by test (*) (glob)
   
-  $ hg olog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool
+  $ hg obslog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [
@@ -195,10 +195,10 @@
           "debugobshistory.shortdescription": "B0"
       }
   ]
-  $ hg olog 'desc(A0)'
+  $ hg obslog 'desc(A0)'
   @  471f378eab4c (1) A0
   
-  $ hg olog 'desc(A0)' --no-graph -Tjson | python -m json.tool
+  $ hg obslog 'desc(A0)' --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [],
@@ -306,11 +306,11 @@
 -----------
 
 Check that debugobshistory on splitted commit show both targets
-  $ hg olog 471597cad322 --hidden
+  $ hg obslog 471597cad322 --hidden
   x  471597cad322 (1) A0
        rewritten by test (*) as 337fec4d2edc, f257fde29c7a (glob)
   
-  $ hg olog 471597cad322 --hidden --no-graph -Tjson | python -m json.tool
+  $ hg obslog 471597cad322 --hidden --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [
@@ -334,7 +334,7 @@
   ]
 Check that debugobshistory on the first successor after split show
 the revision plus the splitted one
-  $ hg olog 337fec4d2edc
+  $ hg obslog 337fec4d2edc
   o  337fec4d2edc (2) A0
   |
   x  471597cad322 (1) A0
@@ -342,7 +342,7 @@
   
 Check that debugobshistory on the second successor after split show
 the revision plus the splitted one
-  $ hg olog f257fde29c7a
+  $ hg obslog f257fde29c7a
   @  f257fde29c7a (3) A0
   |
   x  471597cad322 (1) A0
@@ -350,7 +350,7 @@
   
 Check that debugobshistory on both successors after split show
 a coherent graph
-  $ hg olog 'f257fde29c7a+337fec4d2edc'
+  $ hg obslog 'f257fde29c7a+337fec4d2edc'
   o  337fec4d2edc (2) A0
   |
   | @  f257fde29c7a (3) A0
@@ -520,11 +520,11 @@
 Actual test
 -----------
 
-  $ hg olog de7290d8b885 --hidden
+  $ hg obslog de7290d8b885 --hidden
   x  de7290d8b885 (1) A0
        rewritten by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob)
   
-  $ hg olog de7290d8b885 --hidden --no-graph -Tjson | python -m json.tool
+  $ hg obslog de7290d8b885 --hidden --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [
@@ -548,13 +548,13 @@
           "debugobshistory.shortdescription": "A0"
       }
   ]
-  $ hg olog c7f044602e9b
+  $ hg obslog c7f044602e9b
   @  c7f044602e9b (5) A0
   |
   x  de7290d8b885 (1) A0
        rewritten by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob)
   
-  $ hg olog c7f044602e9b --no-graph -Tjson | python -m json.tool
+  $ hg obslog c7f044602e9b --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [],
@@ -585,7 +585,7 @@
       }
   ]
 Check that debugobshistory on all heads show a coherent graph
-  $ hg olog 2::5
+  $ hg obslog 2::5
   o  1ae8bc733a14 (4) A0
   |
   | o  337fec4d2edc (2) A0
@@ -665,19 +665,19 @@
 
 Check that debugobshistory on the first folded revision show only
 the revision with the target
-  $ hg olog --hidden 471f378eab4c
+  $ hg obslog --hidden 471f378eab4c
   x  471f378eab4c (1) A0
        rewritten by test (*) as eb5a0daa2192 (glob)
   
 Check that debugobshistory on the second folded revision show only
 the revision with the target
-  $ hg olog --hidden 0dec01379d3b
+  $ hg obslog --hidden 0dec01379d3b
   x  0dec01379d3b (2) B0
        rewritten by test (*) as eb5a0daa2192 (glob)
   
 Check that debugobshistory on the successor revision show a coherent
 graph
-  $ hg olog eb5a0daa2192
+  $ hg obslog eb5a0daa2192
   @    eb5a0daa2192 (3) C0
   |\
   x |  0dec01379d3b (2) B0
@@ -686,7 +686,7 @@
   x  471f378eab4c (1) A0
        rewritten by test (*) as eb5a0daa2192 (glob)
   
-  $ hg olog eb5a0daa2192 --no-graph -Tjson | python -m json.tool
+  $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [],
@@ -815,12 +815,12 @@
 -----------
 
 Check that debugobshistory on the divergent revision show both destinations
-  $ hg olog --hidden 471f378eab4c
+  $ hg obslog --hidden 471f378eab4c
   x  471f378eab4c (1) A0
        rewritten by test (*) as 65b757b745b9 (glob)
        rewritten by test (*) as fdf9bde5129a (glob)
   
-  $ hg olog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool
+  $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [
@@ -854,7 +854,7 @@
   ]
 Check that debugobshistory on the first diverged revision show the revision
 and the diverent one
-  $ hg olog fdf9bde5129a
+  $ hg obslog fdf9bde5129a
   o  fdf9bde5129a (2) A1
   |
   x  471f378eab4c (1) A0
@@ -863,7 +863,7 @@
   
 Check that debugobshistory on the second diverged revision show the revision
 and the diverent one
-  $ hg olog 65b757b745b9
+  $ hg obslog 65b757b745b9
   @  65b757b745b9 (3) A2
   |
   x  471f378eab4c (1) A0
@@ -872,7 +872,7 @@
   
 Check that debugobshistory on the both diverged revision show a coherent
 graph
-  $ hg olog '65b757b745b9+fdf9bde5129a'
+  $ hg obslog '65b757b745b9+fdf9bde5129a'
   @  65b757b745b9 (3) A2
   |
   | o  fdf9bde5129a (2) A1
@@ -881,7 +881,7 @@
        rewritten by test (*) as 65b757b745b9 (glob)
        rewritten by test (*) as fdf9bde5129a (glob)
   
-  $ hg olog '65b757b745b9+fdf9bde5129a' --no-graph -Tjson | python -m json.tool
+  $ hg obslog '65b757b745b9+fdf9bde5129a' --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [],
@@ -1005,7 +1005,7 @@
  -----------
 
 Check that debugobshistory on head show a coherent graph
-  $ hg olog eb5a0daa2192
+  $ hg obslog eb5a0daa2192
   @    eb5a0daa2192 (4) C0
   |\
   x |  471f378eab4c (1) A0
@@ -1017,7 +1017,7 @@
   x  0dec01379d3b (2) B0
        rewritten by test (*) as b7ea6d14e664 (glob)
   
-  $ hg olog eb5a0daa2192 --no-graph -Tjson | python -m json.tool
+  $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [],
@@ -1169,7 +1169,7 @@
  Actual test
  -----------
 
-  $ hg olog 7a230b46bf61
+  $ hg obslog 7a230b46bf61
   @  7a230b46bf61 (3) A2
   |
   x  fdf9bde5129a (2) A1
@@ -1192,7 +1192,7 @@
   (use 'hg evolve' to update to its successor: 7a230b46bf61)
 Check that debugobshistory works with markers pointing to missing local
 changectx
-  $ hg olog 7a230b46bf61
+  $ hg obslog 7a230b46bf61
   o  7a230b46bf61 (2) A2
   |
   x  fdf9bde5129a
@@ -1201,7 +1201,7 @@
   @  471f378eab4c (1) A0
        rewritten by test (*) as fdf9bde5129a (glob)
   
-  $ hg olog 7a230b46bf61 --color=debug
+  $ hg obslog 7a230b46bf61 --color=debug
   o  [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2]
   |
   x  [evolve.node evolve.missing_change_ctx|fdf9bde5129a]
@@ -1282,7 +1282,7 @@
 
 Check that debugobshistory never crash on a cycle
 
-  $ hg olog "desc(A)" --hidden
+  $ hg obslog "desc(A)" --hidden
   @  2a34000d3544 (1) A
   |    rewritten by test (*) as c473644ee0e9 (glob)
   |
@@ -1293,7 +1293,7 @@
   |    rewritten by test (*) as a8df460dbbfe (glob)
   |
 
-  $ hg olog "desc(B)" --hidden
+  $ hg obslog "desc(B)" --hidden
   @  2a34000d3544 (1) A
   |    rewritten by test (*) as c473644ee0e9 (glob)
   |
@@ -1304,7 +1304,7 @@
   |    rewritten by test (*) as a8df460dbbfe (glob)
   |
 
-  $ hg olog "desc(C)" --hidden
+  $ hg obslog "desc(C)" --hidden
   @  2a34000d3544 (1) A
   |    rewritten by test (*) as c473644ee0e9 (glob)
   |
@@ -1426,7 +1426,7 @@
 
 Check that debugobshistory never crash on a cycle
 
-  $ hg olog "desc(D)" --hidden
+  $ hg obslog "desc(D)" --hidden
   x  0da815c333f6 (5) E
   |    rewritten by test (*) as d9f908fde1a1 (glob)
   |
@@ -1448,7 +1448,7 @@
 
 Check the json output is valid in this case
 
-  $ hg olog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool
+  $ hg obslog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool
   [
       {
           "debugobshistory.markers": [