tests/test-evolve-templates.t
branchmercurial-4.1
changeset 2614 9a1c92132519
parent 2595 54ac473663ff
child 2616 feabbaa01ff0
child 2700 52d5c5ce27e4
equal deleted inserted replaced
2595:54ac473663ff 2614:9a1c92132519
    85   | @  471f378eab4c
    85   | @  471f378eab4c
    86   |/     Successors: [d004c8f274b9]
    86   |/     Successors: [d004c8f274b9]
    87   |      semi-colon: [d004c8f274b9]
    87   |      semi-colon: [d004c8f274b9]
    88   o  ea207398892e
    88   o  ea207398892e
    89   
    89   
       
    90   $ hg up 'desc(A1)' --hidden
       
    91   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    92   working directory parent is obsolete! (a468dc9b3633)
       
    93   (use 'hg evolve' to update to its successor: d004c8f274b9)
    90 
    94 
    91 Precursors template should show current revision as it is the working copy
    95 Precursors template should show current revision as it is the working copy
    92   $ hg tlog
    96   $ hg tlog
    93   o  d004c8f274b9
    97   o  d004c8f274b9
    94   |    Precursors: 471f378eab4c
    98   |    Precursors: a468dc9b3633
    95   |    semi-colon: 471f378eab4c
    99   |    semi-colon: a468dc9b3633
    96   | @  471f378eab4c
   100   | @  a468dc9b3633
    97   |/     Successors: [d004c8f274b9]
   101   |/     Successors: [d004c8f274b9]
    98   |      semi-colon: [d004c8f274b9]
   102   |      semi-colon: [d004c8f274b9]
    99   o  ea207398892e
   103   o  ea207398892e
   100   
   104   
   101 Precursors template should show the precursor as we force its display with
   105 Precursors template should show the precursor as we force its display with
   102 --hidden  
   106 --hidden  
   103   $ hg tlog --hidden
   107   $ hg tlog --hidden
   104   o  d004c8f274b9
   108   o  d004c8f274b9
       
   109   |    Precursors: a468dc9b3633
       
   110   |    semi-colon: a468dc9b3633
       
   111   | @  a468dc9b3633
       
   112   |/     Precursors: 471f378eab4c
       
   113   |      semi-colon: 471f378eab4c
       
   114   |      Successors: [d004c8f274b9]
       
   115   |      semi-colon: [d004c8f274b9]
       
   116   | x  f137d23bb3e1
       
   117   | |
       
   118   | x  471f378eab4c
       
   119   |/     Successors: [a468dc9b3633]
       
   120   |      semi-colon: [a468dc9b3633]
       
   121   o  ea207398892e
       
   122   
       
   123 
       
   124   $ hg up 'desc(A2)'
       
   125   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   126   $ hg tlog
       
   127   @  d004c8f274b9
       
   128   |
       
   129   o  ea207398892e
       
   130   
       
   131   $ hg tlog --hidden
       
   132   @  d004c8f274b9
   105   |    Precursors: a468dc9b3633
   133   |    Precursors: a468dc9b3633
   106   |    semi-colon: a468dc9b3633
   134   |    semi-colon: a468dc9b3633
   107   | x  a468dc9b3633
   135   | x  a468dc9b3633
   108   |/     Precursors: 471f378eab4c
   136   |/     Precursors: 471f378eab4c
   109   |      semi-colon: 471f378eab4c
   137   |      semi-colon: 471f378eab4c
   110   |      Successors: [d004c8f274b9]
   138   |      Successors: [d004c8f274b9]
   111   |      semi-colon: [d004c8f274b9]
   139   |      semi-colon: [d004c8f274b9]
   112   | x  f137d23bb3e1
   140   | x  f137d23bb3e1
   113   | |
   141   | |
   114   | @  471f378eab4c
   142   | x  471f378eab4c
   115   |/     Successors: [a468dc9b3633]
       
   116   |      semi-colon: [a468dc9b3633]
       
   117   o  ea207398892e
       
   118   
       
   119   $ hg tlog
       
   120   o  d004c8f274b9
       
   121   |    Precursors: 471f378eab4c
       
   122   |    semi-colon: 471f378eab4c
       
   123   | @  471f378eab4c
       
   124   |/     Successors: [d004c8f274b9]
       
   125   |      semi-colon: [d004c8f274b9]
       
   126   o  ea207398892e
       
   127   
       
   128   $ hg tlog --hidden
       
   129   o  d004c8f274b9
       
   130   |    Precursors: a468dc9b3633
       
   131   |    semi-colon: a468dc9b3633
       
   132   | x  a468dc9b3633
       
   133   |/     Precursors: 471f378eab4c
       
   134   |      semi-colon: 471f378eab4c
       
   135   |      Successors: [d004c8f274b9]
       
   136   |      semi-colon: [d004c8f274b9]
       
   137   | x  f137d23bb3e1
       
   138   | |
       
   139   | @  471f378eab4c
       
   140   |/     Successors: [a468dc9b3633]
   143   |/     Successors: [a468dc9b3633]
   141   |      semi-colon: [a468dc9b3633]
   144   |      semi-colon: [a468dc9b3633]
   142   o  ea207398892e
   145   o  ea207398892e
   143   
   146   
   144 
   147 
   342   | @  471f378eab4c
   345   | @  471f378eab4c
   343   |/     Successors: [eb5a0daa2192]
   346   |/     Successors: [eb5a0daa2192]
   344   |      semi-colon: [eb5a0daa2192]
   347   |      semi-colon: [eb5a0daa2192]
   345   o  ea207398892e
   348   o  ea207398892e
   346   
   349   
       
   350   $ hg up 'desc(B0)' --hidden
       
   351   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   352   working directory parent is obsolete! (0dec01379d3b)
       
   353   (use 'hg evolve' to update to its successor: eb5a0daa2192)
       
   354 
   347 Precursors template should show both precursors as they should be both
   355 Precursors template should show both precursors as they should be both
   348 displayed
   356 displayed
   349   $ hg tlog
   357   $ hg tlog
   350   o  eb5a0daa2192
   358   o  eb5a0daa2192
   351   |    Precursors: 471f378eab4c
   359   |    Precursors: 0dec01379d3b 471f378eab4c
   352   |    semi-colon: 471f378eab4c
   360   |    semi-colon: 0dec01379d3b; 471f378eab4c
   353   | @  471f378eab4c
   361   | @  0dec01379d3b
       
   362   | |    Successors: [eb5a0daa2192]
       
   363   | |    semi-colon: [eb5a0daa2192]
       
   364   | x  471f378eab4c
   354   |/     Successors: [eb5a0daa2192]
   365   |/     Successors: [eb5a0daa2192]
   355   |      semi-colon: [eb5a0daa2192]
   366   |      semi-colon: [eb5a0daa2192]
   356   o  ea207398892e
   367   o  ea207398892e
   357   
   368   
   358   $ hg up 'desc(C0)'
   369   $ hg up 'desc(C0)'
   359   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   370   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   360 
   371 
   361 Precursors template should not show precursors as it's not displayed in the
   372 Precursors template should not show precursors as it's not displayed in the
   362 log
   373 log
   363   $ hg tlog
   374   $ hg tlog
   364   @  eb5a0daa2192
   375   @  eb5a0daa2192
   473   |
   484   |
   474   | @  fdf9bde5129a
   485   | @  fdf9bde5129a
   475   |/
   486   |/
   476   o  ea207398892e
   487   o  ea207398892e
   477   
   488   
       
   489 
       
   490 Precursors template should a precursor as we force its display with --hidden
       
   491   $ hg tlog --hidden
       
   492   o  019fadeab383
       
   493   |    Precursors: 65b757b745b9
       
   494   |    semi-colon: 65b757b745b9
       
   495   | x  65b757b745b9
       
   496   |/     Precursors: 471f378eab4c
       
   497   |      semi-colon: 471f378eab4c
       
   498   |      Successors: [019fadeab383]
       
   499   |      semi-colon: [019fadeab383]
       
   500   | @  fdf9bde5129a
       
   501   |/     Precursors: 471f378eab4c
       
   502   |      semi-colon: 471f378eab4c
       
   503   | x  471f378eab4c
       
   504   |/     Successors: [fdf9bde5129a], [65b757b745b9]
       
   505   |      semi-colon: [fdf9bde5129a]; [65b757b745b9]
       
   506   o  ea207398892e
       
   507   
       
   508 
   478 Test templates with amended + folded commit
   509 Test templates with amended + folded commit
   479 ===========================================
   510 ===========================================
   480 
   511 
   481 Test setup
   512 Test setup
   482 ----------
   513 ----------
   556   | @  471f378eab4c
   587   | @  471f378eab4c
   557   |/     Successors: [eb5a0daa2192]
   588   |/     Successors: [eb5a0daa2192]
   558   |      semi-colon: [eb5a0daa2192]
   589   |      semi-colon: [eb5a0daa2192]
   559   o  ea207398892e
   590   o  ea207398892e
   560   
   591   
       
   592   $ hg up 'desc(B0)' --hidden
       
   593   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   594   working directory parent is obsolete! (0dec01379d3b)
       
   595   (use 'hg evolve' to update to its successor: eb5a0daa2192)
       
   596   $ hg tlog
       
   597   o  eb5a0daa2192
       
   598   |    Precursors: 0dec01379d3b 471f378eab4c
       
   599   |    semi-colon: 0dec01379d3b; 471f378eab4c
       
   600   | @  0dec01379d3b
       
   601   | |    Successors: [eb5a0daa2192]
       
   602   | |    semi-colon: [eb5a0daa2192]
       
   603   | x  471f378eab4c
       
   604   |/     Successors: [eb5a0daa2192]
       
   605   |      semi-colon: [eb5a0daa2192]
       
   606   o  ea207398892e
       
   607   
       
   608 
       
   609   $ hg up 'desc(B1)' --hidden
       
   610   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   611   working directory parent is obsolete! (b7ea6d14e664)
       
   612   (use 'hg evolve' to update to its successor: eb5a0daa2192)
       
   613   $ hg tlog
       
   614   o  eb5a0daa2192
       
   615   |    Precursors: 471f378eab4c b7ea6d14e664
       
   616   |    semi-colon: 471f378eab4c; b7ea6d14e664
       
   617   | @  b7ea6d14e664
       
   618   | |    Successors: [eb5a0daa2192]
       
   619   | |    semi-colon: [eb5a0daa2192]
       
   620   | x  471f378eab4c
       
   621   |/     Successors: [eb5a0daa2192]
       
   622   |      semi-colon: [eb5a0daa2192]
       
   623   o  ea207398892e
       
   624   
       
   625 
       
   626   $ hg up 'desc(C0)'
       
   627   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   628   $ hg tlog
       
   629   @  eb5a0daa2192
       
   630   |
       
   631   o  ea207398892e
       
   632   
   561   $ hg tlog --hidden
   633   $ hg tlog --hidden
   562   o  eb5a0daa2192
   634   @  eb5a0daa2192
   563   |    Precursors: 471f378eab4c b7ea6d14e664
   635   |    Precursors: 471f378eab4c b7ea6d14e664
   564   |    semi-colon: 471f378eab4c; b7ea6d14e664
   636   |    semi-colon: 471f378eab4c; b7ea6d14e664
   565   | x  b7ea6d14e664
   637   | x  b7ea6d14e664
   566   | |    Precursors: 0dec01379d3b
   638   | |    Precursors: 0dec01379d3b
   567   | |    semi-colon: 0dec01379d3b
   639   | |    semi-colon: 0dec01379d3b
   568   | |    Successors: [eb5a0daa2192]
   640   | |    Successors: [eb5a0daa2192]
   569   | |    semi-colon: [eb5a0daa2192]
   641   | |    semi-colon: [eb5a0daa2192]
   570   | | x  0dec01379d3b
   642   | | x  0dec01379d3b
   571   | |/     Successors: [b7ea6d14e664]
   643   | |/     Successors: [b7ea6d14e664]
   572   | |      semi-colon: [b7ea6d14e664]
   644   | |      semi-colon: [b7ea6d14e664]
   573   | @  471f378eab4c
   645   | x  471f378eab4c
   574   |/     Successors: [eb5a0daa2192]
   646   |/     Successors: [eb5a0daa2192]
   575   |      semi-colon: [eb5a0daa2192]
   647   |      semi-colon: [eb5a0daa2192]
   576   o  ea207398892e
   648   o  ea207398892e
   577   
   649   
   578 Test template with pushed and pulled obs markers
   650 Test template with pushed and pulled obs markers