tests/test-evolve-obshistory.t
branchmercurial-4.3
changeset 4174 e07e764c0f48
parent 4165 ccbfbeee6cf3
parent 3936 537fd9a86c06
child 4207 3d917da5bd95
equal deleted inserted replaced
4173:e268f7fd7839 4174:e07e764c0f48
    74   |
    74   |
    75   | x  changeset:   2:fdf9bde5129a
    75   | x  changeset:   2:fdf9bde5129a
    76   |/   parent:      0:ea207398892e
    76   |/   parent:      0:ea207398892e
    77   |    user:        test
    77   |    user:        test
    78   |    date:        Thu Jan 01 00:00:00 1970 +0000
    78   |    date:        Thu Jan 01 00:00:00 1970 +0000
    79   |    obsolete:    reworded using amend as 3:7a230b46bf61
    79   |    obsolete:    reworded as 7a230b46bf61
    80   |    summary:     A1
    80   |    summary:     A1
    81   |
    81   |
    82   | x  changeset:   1:471f378eab4c
    82   | x  changeset:   1:471f378eab4c
    83   |/   user:        test
    83   |/   user:        test
    84   |    date:        Thu Jan 01 00:00:00 1970 +0000
    84   |    date:        Thu Jan 01 00:00:00 1970 +0000
    85   |    obsolete:    reworded using amend as 2:fdf9bde5129a
    85   |    obsolete:    reworded as fdf9bde5129a
    86   |    summary:     A0
    86   |    summary:     A0
    87   |
    87   |
    88   o  changeset:   0:ea207398892e
    88   o  changeset:   0:ea207398892e
    89      user:        test
    89      user:        test
    90      date:        Thu Jan 01 00:00:00 1970 +0000
    90      date:        Thu Jan 01 00:00:00 1970 +0000
    95 
    95 
    96   $ hg obslog 7a230b46bf61 --patch
    96   $ hg obslog 7a230b46bf61 --patch
    97   @  7a230b46bf61 (3) A2
    97   @  7a230b46bf61 (3) A2
    98   |
    98   |
    99   x  fdf9bde5129a (2) A1
    99   x  fdf9bde5129a (2) A1
   100   |    rewritten(description) as 7a230b46bf61 using amend by test (Thu Jan 01 00:00:00 1970 +0000)
   100   |    rewritten(description) as 7a230b46bf61 by test (Thu Jan 01 00:00:00 1970 +0000)
   101   |      diff -r fdf9bde5129a -r 7a230b46bf61 changeset-description
   101   |      diff -r fdf9bde5129a -r 7a230b46bf61 changeset-description
   102   |      --- a/changeset-description
   102   |      --- a/changeset-description
   103   |      +++ b/changeset-description
   103   |      +++ b/changeset-description
   104   |      @@ -1,1 +1,1 @@
   104   |      @@ -1,1 +1,1 @@
   105   |      -A1
   105   |      -A1
   106   |      +A2
   106   |      +A2
   107   |
   107   |
   108   |
   108   |
   109   x  471f378eab4c (1) A0
   109   x  471f378eab4c (1) A0
   110        rewritten(description) as fdf9bde5129a using amend by test (Thu Jan 01 00:00:00 1970 +0000)
   110        rewritten(description) as fdf9bde5129a by test (Thu Jan 01 00:00:00 1970 +0000)
   111          diff -r 471f378eab4c -r fdf9bde5129a changeset-description
   111          diff -r 471f378eab4c -r fdf9bde5129a changeset-description
   112          --- a/changeset-description
   112          --- a/changeset-description
   113          +++ b/changeset-description
   113          +++ b/changeset-description
   114          @@ -1,1 +1,1 @@
   114          @@ -1,1 +1,1 @@
   115          -A0
   115          -A0
   124   adding manifests
   124   adding manifests
   125   adding file changes
   125   adding file changes
   126   added 1 changesets with 0 changes to 1 files (+1 heads)
   126   added 1 changesets with 0 changes to 1 files (+1 heads)
   127   2 new obsolescence markers
   127   2 new obsolescence markers
   128   obsoleted 1 changesets
   128   obsoleted 1 changesets
   129   new changesets 7a230b46bf61
       
   130   (run 'hg heads' to see heads, 'hg merge' to merge)
   129   (run 'hg heads' to see heads, 'hg merge' to merge)
   131   working directory parent is obsolete! (471f378eab4c)
   130   working directory parent is obsolete! (471f378eab4c)
   132   (use 'hg evolve' to update to its successor: 7a230b46bf61)
   131   (use 'hg evolve' to update to its successor: 7a230b46bf61)
   133 Check that debugobshistory works with markers pointing to missing local
   132 Check that debugobshistory works with markers pointing to missing local
   134 changectx
   133 changectx
   135   $ hg obslog 7a230b46bf61 --patch
   134   $ hg obslog 7a230b46bf61 --patch
   136   o  7a230b46bf61 (2) A2
   135   o  7a230b46bf61 (2) A2
   137   |
   136   |
   138   x  fdf9bde5129a
   137   x  fdf9bde5129a
   139   |    rewritten(description) as 7a230b46bf61 using amend by test (Thu Jan 01 00:00:00 1970 +0000)
   138   |    rewritten(description) as 7a230b46bf61 by test (Thu Jan 01 00:00:00 1970 +0000)
   140   |      (No patch available, context is not local)
   139   |      (No patch available, context is not local)
   141   |
   140   |
   142   @  471f378eab4c (1) A0
   141   @  471f378eab4c (1) A0
   143        rewritten(description) as fdf9bde5129a using amend by test (Thu Jan 01 00:00:00 1970 +0000)
   142        rewritten(description) as fdf9bde5129a by test (Thu Jan 01 00:00:00 1970 +0000)
   144          (No patch available, successor is unknown locally)
   143          (No patch available, successor is unknown locally)
   145   
   144   
   146 
   145 
   147   $ hg obslog 7a230b46bf61 --patch -f
   146   $ hg obslog 7a230b46bf61 --patch -f
   148   o  7a230b46bf61 (2) A2
   147   o  7a230b46bf61 (2) A2
   149   |
   148   |
   150   @  471f378eab4c (1) A0
   149   @  471f378eab4c (1) A0
   151        reworded(description) as 7a230b46bf61 using amend by test (at Thu Jan 01 00:00:00 1970 +0000)
       
   152          diff -r 471f378eab4c -r 7a230b46bf61 changeset-description
       
   153          --- a/changeset-description
       
   154          +++ b/changeset-description
       
   155          @@ -1,1 +1,1 @@
       
   156          -A0
       
   157          +A2
       
   158   
       
   159   
   150   
   160   $ hg obslog 7a230b46bf61 --color=debug --patch
   151   $ hg obslog 7a230b46bf61 --color=debug --patch
   161   o  [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2]
   152   o  [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2]
   162   |
   153   |
   163   x  [evolve.node evolve.missing_change_ctx|fdf9bde5129a]
   154   x  [evolve.node evolve.missing_change_ctx|fdf9bde5129a]
   164   |    [evolve.verb|rewritten](description) as [evolve.node|7a230b46bf61] using [evolve.operation|amend] by [evolve.user|test] [evolve.date|(Thu Jan 01 00:00:00 1970 +0000)]
   155   |    [evolve.verb|rewritten](description) as [evolve.node|7a230b46bf61] by [evolve.user|test] [evolve.date|(Thu Jan 01 00:00:00 1970 +0000)]
   165   |      (No patch available, context is not local)
   156   |      (No patch available, context is not local)
   166   |
   157   |
   167   @  [evolve.node|471f378eab4c] [evolve.rev|(1)] [evolve.short_description|A0]
   158   @  [evolve.node|471f378eab4c] [evolve.rev|(1)] [evolve.short_description|A0]
   168        [evolve.verb|rewritten](description) as [evolve.node|fdf9bde5129a] using [evolve.operation|amend] by [evolve.user|test] [evolve.date|(Thu Jan 01 00:00:00 1970 +0000)]
   159        [evolve.verb|rewritten](description) as [evolve.node|fdf9bde5129a] by [evolve.user|test] [evolve.date|(Thu Jan 01 00:00:00 1970 +0000)]
   169          (No patch available, successor is unknown locally)
   160          (No patch available, successor is unknown locally)
   170   
   161