tests/test-evolve-templates.t
changeset 2832 07b9fcf8b6d3
parent 2710 e22de367fc74
child 2833 08a64770ed24
equal deleted inserted replaced
2831:eda8eb561134 2832:07b9fcf8b6d3
    77 Precursors template should show current revision as it is the working copy
    77 Precursors template should show current revision as it is the working copy
    78   $ hg olog tip
    78   $ hg olog tip
    79   o  d004c8f274b9 (4) A2
    79   o  d004c8f274b9 (4) A2
    80   |
    80   |
    81   x  a468dc9b3633 (3) A1
    81   x  a468dc9b3633 (3) A1
    82   |    rewritten(description) by test2 (Thu Apr 19 04:25:21 2001 +0000) as d004c8f274b9
    82   |    rewritten(description) as d004c8f274b9 by test2 (Thu Apr 19 04:25:21 2001 +0000)
    83   |
    83   |
    84   @  471f378eab4c (1) A0
    84   @  471f378eab4c (1) A0
    85        rewritten(description, content) by test1 (Fri Feb 13 23:31:30 2009 +0000) as a468dc9b3633
    85        rewritten(description, content) as a468dc9b3633 by test1 (Fri Feb 13 23:31:30 2009 +0000)
    86   
    86   
    87   $ hg tlog
    87   $ hg tlog
    88   o  d004c8f274b9
    88   o  d004c8f274b9
    89   |    Precursors: 471f378eab4c
    89   |    Precursors: 471f378eab4c
    90   |    semi-colon: 471f378eab4c
    90   |    semi-colon: 471f378eab4c
    91   | @  471f378eab4c
    91   | @  471f378eab4c
    92   |/     Successors: [d004c8f274b9]
    92   |/     Successors: [d004c8f274b9]
    93   |      semi-colon: [d004c8f274b9]
    93   |      semi-colon: [d004c8f274b9]
    94   |      Fate: rewritten by test1, test2 as d004c8f274b9
    94   |      Fate: rewritten as d004c8f274b9 by test1, test2
    95   |
    95   |
    96   o  ea207398892e
    96   o  ea207398892e
    97   
    97   
    98   $ hg fatelog -q
    98   $ hg fatelog -q
    99   o  d004c8f274b9
    99   o  d004c8f274b9
   106 
   106 
   107   $ hg fatelog
   107   $ hg fatelog
   108   o  d004c8f274b9
   108   o  d004c8f274b9
   109   |
   109   |
   110   | @  471f378eab4c
   110   | @  471f378eab4c
   111   |/     Obsfate: rewritten by test1, test2 as d004c8f274b9
   111   |/     Obsfate: rewritten as d004c8f274b9 by test1, test2
   112   |
   112   |
   113   o  ea207398892e
   113   o  ea207398892e
   114   
   114   
   115   $ hg fatelog -v
   115   $ hg fatelog -v
   116   o  d004c8f274b9
   116   o  d004c8f274b9
   117   |
   117   |
   118   | @  471f378eab4c
   118   | @  471f378eab4c
   119   |/     Obsfate: rewritten by test1, test2 as d004c8f274b9 (between 2001-04-19 04:25 +0000 and 2009-02-13 23:31 +0000)
   119   |/     Obsfate: rewritten as d004c8f274b9 by test1, test2 (between 2001-04-19 04:25 +0000 and 2009-02-13 23:31 +0000)
   120   |
   120   |
   121   o  ea207398892e
   121   o  ea207398892e
   122   
   122   
   123 
   123 
   124 (check json)
   124 (check json)
   150   |    Precursors: a468dc9b3633
   150   |    Precursors: a468dc9b3633
   151   |    semi-colon: a468dc9b3633
   151   |    semi-colon: a468dc9b3633
   152   | @  a468dc9b3633
   152   | @  a468dc9b3633
   153   |/     Successors: [d004c8f274b9]
   153   |/     Successors: [d004c8f274b9]
   154   |      semi-colon: [d004c8f274b9]
   154   |      semi-colon: [d004c8f274b9]
   155   |      Fate: rewritten by test2 as d004c8f274b9
   155   |      Fate: rewritten as d004c8f274b9 by test2
   156   |
   156   |
   157   o  ea207398892e
   157   o  ea207398892e
   158   
   158   
   159 Precursors template should show the precursor as we force its display with
   159 Precursors template should show the precursor as we force its display with
   160 --hidden  
   160 --hidden  
   165   | @  a468dc9b3633
   165   | @  a468dc9b3633
   166   |/     Precursors: 471f378eab4c
   166   |/     Precursors: 471f378eab4c
   167   |      semi-colon: 471f378eab4c
   167   |      semi-colon: 471f378eab4c
   168   |      Successors: [d004c8f274b9]
   168   |      Successors: [d004c8f274b9]
   169   |      semi-colon: [d004c8f274b9]
   169   |      semi-colon: [d004c8f274b9]
   170   |      Fate: rewritten by test2 as d004c8f274b9
   170   |      Fate: rewritten as d004c8f274b9 by test2
   171   |
   171   |
   172   | x  f137d23bb3e1
   172   | x  f137d23bb3e1
   173   | |    Fate: pruned by test1
   173   | |    Fate: pruned by test1
   174   | |
   174   | |
   175   | x  471f378eab4c
   175   | x  471f378eab4c
   176   |/     Successors: [a468dc9b3633]
   176   |/     Successors: [a468dc9b3633]
   177   |      semi-colon: [a468dc9b3633]
   177   |      semi-colon: [a468dc9b3633]
   178   |      Fate: rewritten by test1 as a468dc9b3633
   178   |      Fate: rewritten as a468dc9b3633 by test1
   179   |
   179   |
   180   o  ea207398892e
   180   o  ea207398892e
   181   
   181   
   182   $ hg fatelog -v
   182   $ hg fatelog -v
   183   o  d004c8f274b9
   183   o  d004c8f274b9
   184   |
   184   |
   185   | @  a468dc9b3633
   185   | @  a468dc9b3633
   186   |/     Obsfate: rewritten by test2 as d004c8f274b9 (at 2001-04-19 04:25 +0000)
   186   |/     Obsfate: rewritten as d004c8f274b9 by test2 (at 2001-04-19 04:25 +0000)
   187   |
   187   |
   188   o  ea207398892e
   188   o  ea207398892e
   189   
   189   
   190   $ hg up 'desc(A2)'
   190   $ hg up 'desc(A2)'
   191   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   191   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   201   | x  a468dc9b3633
   201   | x  a468dc9b3633
   202   |/     Precursors: 471f378eab4c
   202   |/     Precursors: 471f378eab4c
   203   |      semi-colon: 471f378eab4c
   203   |      semi-colon: 471f378eab4c
   204   |      Successors: [d004c8f274b9]
   204   |      Successors: [d004c8f274b9]
   205   |      semi-colon: [d004c8f274b9]
   205   |      semi-colon: [d004c8f274b9]
   206   |      Fate: rewritten by test2 as d004c8f274b9
   206   |      Fate: rewritten as d004c8f274b9 by test2
   207   |
   207   |
   208   | x  f137d23bb3e1
   208   | x  f137d23bb3e1
   209   | |    Fate: pruned by test1
   209   | |    Fate: pruned by test1
   210   | |
   210   | |
   211   | x  471f378eab4c
   211   | x  471f378eab4c
   212   |/     Successors: [a468dc9b3633]
   212   |/     Successors: [a468dc9b3633]
   213   |      semi-colon: [a468dc9b3633]
   213   |      semi-colon: [a468dc9b3633]
   214   |      Fate: rewritten by test1 as a468dc9b3633
   214   |      Fate: rewritten as a468dc9b3633 by test1
   215   |
   215   |
   216   o  ea207398892e
   216   o  ea207398892e
   217   
   217   
   218   $ hg fatelog -v
   218   $ hg fatelog -v
   219   @  d004c8f274b9
   219   @  d004c8f274b9
   223 
   223 
   224   $ hg fatelog -v --hidden
   224   $ hg fatelog -v --hidden
   225   @  d004c8f274b9
   225   @  d004c8f274b9
   226   |
   226   |
   227   | x  a468dc9b3633
   227   | x  a468dc9b3633
   228   |/     Obsfate: rewritten by test2 as d004c8f274b9 (at 2001-04-19 04:25 +0000)
   228   |/     Obsfate: rewritten as d004c8f274b9 by test2 (at 2001-04-19 04:25 +0000)
   229   |
   229   |
   230   | x  f137d23bb3e1
   230   | x  f137d23bb3e1
   231   | |    Obsfate: pruned by test1 (at 2009-02-13 23:31 +0000)
   231   | |    Obsfate: pruned by test1 (at 2009-02-13 23:31 +0000)
   232   | |
   232   | |
   233   | x  471f378eab4c
   233   | x  471f378eab4c
   234   |/     Obsfate: rewritten by test1 as a468dc9b3633 (at 2009-02-13 23:31 +0000)
   234   |/     Obsfate: rewritten as a468dc9b3633 by test1 (at 2009-02-13 23:31 +0000)
   235   |
   235   |
   236   o  ea207398892e
   236   o  ea207398892e
   237   
   237   
   238 
   238 
   239   $ hg fatelogjson --hidden
   239   $ hg fatelogjson --hidden
  1072   
  1072   
  1073   $ hg fatelog --hidden -v
  1073   $ hg fatelog --hidden -v
  1074   o  7a230b46bf61
  1074   o  7a230b46bf61
  1075   |
  1075   |
  1076   | @  471f378eab4c
  1076   | @  471f378eab4c
  1077   |/     Obsfate: rewritten by test as 7a230b46bf61 (at 1970-01-01 00:00 +0000)
  1077   |/     Obsfate: rewritten as 7a230b46bf61 by test (at 1970-01-01 00:00 +0000)
  1078   |
  1078   |
  1079   o  ea207398892e
  1079   o  ea207398892e
  1080   
  1080   
  1081   $ hg up 'desc(A2)'
  1081   $ hg up 'desc(A2)'
  1082   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1082   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1103   
  1103   
  1104   $ hg fatelog --hidden -v
  1104   $ hg fatelog --hidden -v
  1105   @  7a230b46bf61
  1105   @  7a230b46bf61
  1106   |
  1106   |
  1107   | x  471f378eab4c
  1107   | x  471f378eab4c
  1108   |/     Obsfate: rewritten by test as 7a230b46bf61 (at 1970-01-01 00:00 +0000)
  1108   |/     Obsfate: rewritten as 7a230b46bf61 by test (at 1970-01-01 00:00 +0000)
  1109   |
  1109   |
  1110   o  ea207398892e
  1110   o  ea207398892e
  1111   
  1111   
  1112 
  1112 
  1113   $ hg fatelogjson --hidden
  1113   $ hg fatelogjson --hidden