tests/test-rewind.t
branchmercurial-4.3
changeset 4228 9a384c7a3b6a
parent 3936 537fd9a86c06
equal deleted inserted replaced
4227:4684e6db4480 4228:9a384c7a3b6a
    84 `````````````
    84 `````````````
    85 
    85 
    86   $ hg rewind --hidden --to 'desc("c_B0")'
    86   $ hg rewind --hidden --to 'desc("c_B0")'
    87   rewinded to 1 changesets
    87   rewinded to 1 changesets
    88   $ hg debugobsolete
    88   $ hg debugobsolete
    89   7e594302a05d3769b27be88fc3cdfd39d7498498 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}
    89   7e594302a05d3769b27be88fc3cdfd39d7498498 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'}
    90   7e594302a05d3769b27be88fc3cdfd39d7498498 073989a581cf430a844192364fa37606357cbbc2 4 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'}
    90   7e594302a05d3769b27be88fc3cdfd39d7498498 073989a581cf430a844192364fa37606357cbbc2 4 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '2', 'user': 'test'}
    91   $ hg obslog -r 'desc("c_B0")'
    91   $ hg obslog -r 'desc("c_B0")'
    92   o  073989a581cf (3) c_B0
    92   o  073989a581cf (3) c_B0
    93   |
    93   |
    94   x  7e594302a05d (2) c_B0
    94   x  7e594302a05d (2) c_B0
    95        pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000)
    95        pruned by test (Thu Jan 01 00:00:00 1970 +0000)
    96        rewritten(meta) as 073989a581cf using rewind by test (Thu Jan 01 00:00:00 1970 +0000)
    96        rewritten(meta) as 073989a581cf by test (Thu Jan 01 00:00:00 1970 +0000)
    97   
    97   
    98   $ hg log -G
    98   $ hg log -G
    99   o  changeset:   3:073989a581cf
    99   o  changeset:   3:073989a581cf
   100   |  tag:         tip
   100   |  tag:         tip
   101   |  parent:      1:579f120ba918
   101   |  parent:      1:579f120ba918
   124   |  summary:     c_B0
   124   |  summary:     c_B0
   125   |
   125   |
   126   | x  changeset:   2:7e594302a05d
   126   | x  changeset:   2:7e594302a05d
   127   |/   user:        test
   127   |/   user:        test
   128   |    date:        Thu Jan 01 00:00:00 1970 +0000
   128   |    date:        Thu Jan 01 00:00:00 1970 +0000
   129   |    obsolete:    meta-changed using rewind as 3:073989a581cf
   129   |    obsolete:    meta-changed as 073989a581cf
   130   |    summary:     c_B0
   130   |    summary:     c_B0
   131   |
   131   |
   132   o  changeset:   1:579f120ba918
   132   o  changeset:   1:579f120ba918
   133   |  user:        test
   133   |  user:        test
   134   |  date:        Thu Jan 01 00:00:00 1970 +0000
   134   |  date:        Thu Jan 01 00:00:00 1970 +0000
   157   $ hg prune 'desc("c_B0")'
   157   $ hg prune 'desc("c_B0")'
   158   1 changesets pruned
   158   1 changesets pruned
   159   $ hg rewind --hidden --to 'min(desc("c_B0"))'
   159   $ hg rewind --hidden --to 'min(desc("c_B0"))'
   160   rewinded to 1 changesets
   160   rewinded to 1 changesets
   161   $ hg debugobsolete
   161   $ hg debugobsolete
   162   7e594302a05d3769b27be88fc3cdfd39d7498498 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}
   162   7e594302a05d3769b27be88fc3cdfd39d7498498 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'}
   163   7e594302a05d3769b27be88fc3cdfd39d7498498 073989a581cf430a844192364fa37606357cbbc2 4 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'}
   163   7e594302a05d3769b27be88fc3cdfd39d7498498 073989a581cf430a844192364fa37606357cbbc2 4 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '2', 'user': 'test'}
   164   073989a581cf430a844192364fa37606357cbbc2 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}
   164   073989a581cf430a844192364fa37606357cbbc2 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'user': 'test'}
   165   7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   165   7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'user': 'test'}
   166   $ hg obslog -r 'desc("c_B0")' --all
   166   $ hg obslog -r 'desc("c_B0")' --all
   167   x  073989a581cf (3) c_B0
   167   x  073989a581cf (3) c_B0
   168   |    pruned using prune by test (Thu Jan 01 00:00:01 1970 +0000)
   168   |    pruned by test (Thu Jan 01 00:00:01 1970 +0000)
   169   |
   169   |
   170   | o  48acf2c0d9c8 (4) c_B0
   170   | o  48acf2c0d9c8 (4) c_B0
   171   |/
   171   |/
   172   x  7e594302a05d (2) c_B0
   172   x  7e594302a05d (2) c_B0
   173        pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000)
   173        pruned by test (Thu Jan 01 00:00:00 1970 +0000)
   174        rewritten(meta) as 073989a581cf using rewind by test (Thu Jan 01 00:00:00 1970 +0000)
   174        rewritten(meta) as 073989a581cf by test (Thu Jan 01 00:00:00 1970 +0000)
   175        rewritten(meta, date) as 48acf2c0d9c8 using rewind by test (Thu Jan 01 00:00:01 1970 +0000)
   175        rewritten(meta, date) as 48acf2c0d9c8 by test (Thu Jan 01 00:00:01 1970 +0000)
   176   
   176   
   177   $ hg log -G
   177   $ hg log -G
   178   o  changeset:   4:48acf2c0d9c8
   178   o  changeset:   4:48acf2c0d9c8
   179   |  tag:         tip
   179   |  tag:         tip
   180   |  parent:      1:579f120ba918
   180   |  parent:      1:579f120ba918
   202   |
   202   |
   203   | x  changeset:   3:073989a581cf
   203   | x  changeset:   3:073989a581cf
   204   |/   parent:      1:579f120ba918
   204   |/   parent:      1:579f120ba918
   205   |    user:        test
   205   |    user:        test
   206   |    date:        Thu Jan 01 00:00:00 1970 +0000
   206   |    date:        Thu Jan 01 00:00:00 1970 +0000
   207   |    obsolete:    pruned using prune
   207   |    obsolete:    pruned
   208   |    summary:     c_B0
   208   |    summary:     c_B0
   209   |
   209   |
   210   | x  changeset:   2:7e594302a05d
   210   | x  changeset:   2:7e594302a05d
   211   |/   user:        test
   211   |/   user:        test
   212   |    date:        Thu Jan 01 00:00:00 1970 +0000
   212   |    date:        Thu Jan 01 00:00:00 1970 +0000
   213   |    obsolete:    rewritten using rewind as 4:48acf2c0d9c8
   213   |    obsolete:    rewritten as 48acf2c0d9c8
   214   |    obsolete:    meta-changed using rewind as 3:073989a581cf
   214   |    obsolete:    meta-changed as 073989a581cf
   215   |    summary:     c_B0
   215   |    summary:     c_B0
   216   |
   216   |
   217   o  changeset:   1:579f120ba918
   217   o  changeset:   1:579f120ba918
   218   |  user:        test
   218   |  user:        test
   219   |  date:        Thu Jan 01 00:00:00 1970 +0000
   219   |  date:        Thu Jan 01 00:00:00 1970 +0000
   237   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   237   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   238   $ cd rewind-testing-single-rewrite
   238   $ cd rewind-testing-single-rewrite
   239   $ echo BB > B
   239   $ echo BB > B
   240   $ hg amend -m 'c_B1'
   240   $ hg amend -m 'c_B1'
   241   $ hg log -G
   241   $ hg log -G
   242   @  changeset:   3:25c8f5ab0c3b
   242   @  changeset:   4:25c8f5ab0c3b
   243   |  tag:         tip
   243   |  tag:         tip
   244   |  parent:      1:579f120ba918
   244   |  parent:      1:579f120ba918
   245   |  user:        test
   245   |  user:        test
   246   |  date:        Thu Jan 01 00:00:00 1970 +0000
   246   |  date:        Thu Jan 01 00:00:00 1970 +0000
   247   |  summary:     c_B1
   247   |  summary:     c_B1
   261 `````````````
   261 `````````````
   262 
   262 
   263   $ hg rewind --hidden --to 'desc("c_B0")' --as-divergence
   263   $ hg rewind --hidden --to 'desc("c_B0")' --as-divergence
   264   rewinded to 1 changesets
   264   rewinded to 1 changesets
   265   $ hg debugobsolete
   265   $ hg debugobsolete
   266   7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
   266   7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'user': 'test'}
   267   7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   267   3d16cbe1aa2b2b1764e67b6b6938d296c676b203 0 {7e594302a05d3769b27be88fc3cdfd39d7498498} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'user': 'test'}
       
   268   7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'user': 'test'}
   268   $ hg obslog --rev 'desc("c_B0")'
   269   $ hg obslog --rev 'desc("c_B0")'
   269   o  48acf2c0d9c8 (4) c_B0
   270   o  48acf2c0d9c8 (5) c_B0
   270   |
   271   |
   271   x  7e594302a05d (2) c_B0
   272   x  7e594302a05d (2) c_B0
   272        rewritten(description, content) as 25c8f5ab0c3b using amend by test (Thu Jan 01 00:00:01 1970 +0000)
   273        rewritten(description, content) as 25c8f5ab0c3b by test (Thu Jan 01 00:00:01 1970 +0000)
   273        rewritten(meta, date) as 48acf2c0d9c8 using rewind by test (Thu Jan 01 00:00:01 1970 +0000)
   274        rewritten(meta, date) as 48acf2c0d9c8 by test (Thu Jan 01 00:00:01 1970 +0000)
   274   
   275   
   275   $ hg log -G
   276   $ hg log -G
   276   o  changeset:   4:48acf2c0d9c8
   277   o  changeset:   5:48acf2c0d9c8
   277   |  tag:         tip
   278   |  tag:         tip
   278   |  parent:      1:579f120ba918
   279   |  parent:      1:579f120ba918
   279   |  user:        test
   280   |  user:        test
   280   |  date:        Thu Jan 01 00:00:01 1970 +0000
   281   |  date:        Thu Jan 01 00:00:01 1970 +0000
   281   |  instability: content-divergent
   282   |  trouble:     divergent
   282   |  summary:     c_B0
   283   |  summary:     c_B0
   283   |
   284   |
   284   | @  changeset:   3:25c8f5ab0c3b
   285   | @  changeset:   4:25c8f5ab0c3b
   285   |/   parent:      1:579f120ba918
   286   |/   parent:      1:579f120ba918
   286   |    user:        test
   287   |    user:        test
   287   |    date:        Thu Jan 01 00:00:00 1970 +0000
   288   |    date:        Thu Jan 01 00:00:00 1970 +0000
   288   |    instability: content-divergent
   289   |    trouble:     divergent
   289   |    summary:     c_B1
   290   |    summary:     c_B1
   290   |
   291   |
   291   o  changeset:   1:579f120ba918
   292   o  changeset:   1:579f120ba918
   292   |  user:        test
   293   |  user:        test
   293   |  date:        Thu Jan 01 00:00:00 1970 +0000
   294   |  date:        Thu Jan 01 00:00:00 1970 +0000
   297      user:        test
   298      user:        test
   298      date:        Thu Jan 01 00:00:00 1970 +0000
   299      date:        Thu Jan 01 00:00:00 1970 +0000
   299      summary:     c_ROOT
   300      summary:     c_ROOT
   300   
   301   
   301   $ hg log -G --hidden
   302   $ hg log -G --hidden
   302   o  changeset:   4:48acf2c0d9c8
   303   o  changeset:   5:48acf2c0d9c8
   303   |  tag:         tip
   304   |  tag:         tip
   304   |  parent:      1:579f120ba918
   305   |  parent:      1:579f120ba918
   305   |  user:        test
   306   |  user:        test
   306   |  date:        Thu Jan 01 00:00:01 1970 +0000
   307   |  date:        Thu Jan 01 00:00:01 1970 +0000
   307   |  instability: content-divergent
   308   |  trouble:     divergent
   308   |  summary:     c_B0
   309   |  summary:     c_B0
   309   |
   310   |
   310   | @  changeset:   3:25c8f5ab0c3b
   311   | @  changeset:   4:25c8f5ab0c3b
   311   |/   parent:      1:579f120ba918
   312   |/   parent:      1:579f120ba918
   312   |    user:        test
   313   |    user:        test
   313   |    date:        Thu Jan 01 00:00:00 1970 +0000
   314   |    date:        Thu Jan 01 00:00:00 1970 +0000
   314   |    instability: content-divergent
   315   |    trouble:     divergent
   315   |    summary:     c_B1
   316   |    summary:     c_B1
   316   |
   317   |
       
   318   | x  changeset:   3:3d16cbe1aa2b
       
   319   | |  user:        test
       
   320   | |  date:        Thu Jan 01 00:00:00 1970 +0000
       
   321   | |  obsolete:    pruned
       
   322   | |  summary:     temporary amend commit for 7e594302a05d
       
   323   | |
   317   | x  changeset:   2:7e594302a05d
   324   | x  changeset:   2:7e594302a05d
   318   |/   user:        test
   325   |/   user:        test
   319   |    date:        Thu Jan 01 00:00:00 1970 +0000
   326   |    date:        Thu Jan 01 00:00:00 1970 +0000
   320   |    obsolete:    rewritten using rewind as 4:48acf2c0d9c8
   327   |    obsolete:    rewritten as 48acf2c0d9c8
   321   |    obsolete:    rewritten using amend as 3:25c8f5ab0c3b
   328   |    obsolete:    rewritten as 25c8f5ab0c3b
   322   |    summary:     c_B0
   329   |    summary:     c_B0
   323   |
   330   |
   324   o  changeset:   1:579f120ba918
   331   o  changeset:   1:579f120ba918
   325   |  user:        test
   332   |  user:        test
   326   |  date:        Thu Jan 01 00:00:00 1970 +0000
   333   |  date:        Thu Jan 01 00:00:00 1970 +0000
   335 Cleanup
   342 Cleanup
   336 ```````
   343 ```````
   337   $ hg prune 'max(desc("c_B0"))'
   344   $ hg prune 'max(desc("c_B0"))'
   338   1 changesets pruned
   345   1 changesets pruned
   339   $ hg log -G
   346   $ hg log -G
   340   @  changeset:   3:25c8f5ab0c3b
   347   @  changeset:   4:25c8f5ab0c3b
   341   |  tag:         tip
   348   |  tag:         tip
   342   |  parent:      1:579f120ba918
   349   |  parent:      1:579f120ba918
   343   |  user:        test
   350   |  user:        test
   344   |  date:        Thu Jan 01 00:00:00 1970 +0000
   351   |  date:        Thu Jan 01 00:00:00 1970 +0000
   345   |  summary:     c_B1
   352   |  summary:     c_B1
   362   $ hg rewind --hidden --to 'min(desc("c_B0"))'
   369   $ hg rewind --hidden --to 'min(desc("c_B0"))'
   363   rewinded to 1 changesets
   370   rewinded to 1 changesets
   364   (1 changesets obsoleted)
   371   (1 changesets obsoleted)
   365   working directory is now at d8b4471cfb3c
   372   working directory is now at d8b4471cfb3c
   366   $ hg debugobsolete
   373   $ hg debugobsolete
   367   7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
   374   7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'user': 'test'}
   368   7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   375   3d16cbe1aa2b2b1764e67b6b6938d296c676b203 0 {7e594302a05d3769b27be88fc3cdfd39d7498498} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'user': 'test'}
   369   48acf2c0d9c8961859ce9a913671eb2adc9b057b 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}
   376   7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'user': 'test'}
   370   7e594302a05d3769b27be88fc3cdfd39d7498498 d8b4471cfb3caa290e0a78ae6bc57d78656c9075 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   377   48acf2c0d9c8961859ce9a913671eb2adc9b057b 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'user': 'test'}
   371   25c8f5ab0c3bb569ec672570f1a901be4c6f032b d8b4471cfb3caa290e0a78ae6bc57d78656c9075 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'}
   378   7e594302a05d3769b27be88fc3cdfd39d7498498 d8b4471cfb3caa290e0a78ae6bc57d78656c9075 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '34', 'user': 'test'}
       
   379   25c8f5ab0c3bb569ec672570f1a901be4c6f032b d8b4471cfb3caa290e0a78ae6bc57d78656c9075 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '43', 'user': 'test'}
   372   $ hg obslog --rev 'desc("c_B0")'
   380   $ hg obslog --rev 'desc("c_B0")'
   373   @    d8b4471cfb3c (5) c_B0
   381   @    d8b4471cfb3c (6) c_B0
   374   |\
   382   |\
   375   x |  25c8f5ab0c3b (3) c_B1
   383   x |  25c8f5ab0c3b (4) c_B1
   376   |/     rewritten(description, meta, date, content) as d8b4471cfb3c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   384   |/     rewritten(description, meta, date, content) as d8b4471cfb3c by test (Thu Jan 01 00:00:02 1970 +0000)
   377   |
   385   |
   378   x  7e594302a05d (2) c_B0
   386   x  7e594302a05d (2) c_B0
   379        rewritten(description, content) as 25c8f5ab0c3b using amend by test (Thu Jan 01 00:00:01 1970 +0000)
   387        rewritten(description, content) as 25c8f5ab0c3b by test (Thu Jan 01 00:00:01 1970 +0000)
   380        rewritten(meta, date) as 48acf2c0d9c8 using rewind by test (Thu Jan 01 00:00:01 1970 +0000)
   388        rewritten(meta, date) as 48acf2c0d9c8 by test (Thu Jan 01 00:00:01 1970 +0000)
   381        rewritten(meta, date) as d8b4471cfb3c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   389        rewritten(meta, date) as d8b4471cfb3c by test (Thu Jan 01 00:00:02 1970 +0000)
   382   
   390   
   383   $ hg log -G
   391   $ hg log -G
   384   @  changeset:   5:d8b4471cfb3c
   392   @  changeset:   6:d8b4471cfb3c
   385   |  tag:         tip
   393   |  tag:         tip
   386   |  parent:      1:579f120ba918
   394   |  parent:      1:579f120ba918
   387   |  user:        test
   395   |  user:        test
   388   |  date:        Thu Jan 01 00:00:02 1970 +0000
   396   |  date:        Thu Jan 01 00:00:02 1970 +0000
   389   |  summary:     c_B0
   397   |  summary:     c_B0
   397      user:        test
   405      user:        test
   398      date:        Thu Jan 01 00:00:00 1970 +0000
   406      date:        Thu Jan 01 00:00:00 1970 +0000
   399      summary:     c_ROOT
   407      summary:     c_ROOT
   400   
   408   
   401   $ hg log -G --hidden
   409   $ hg log -G --hidden
   402   @  changeset:   5:d8b4471cfb3c
   410   @  changeset:   6:d8b4471cfb3c
   403   |  tag:         tip
   411   |  tag:         tip
   404   |  parent:      1:579f120ba918
   412   |  parent:      1:579f120ba918
   405   |  user:        test
   413   |  user:        test
   406   |  date:        Thu Jan 01 00:00:02 1970 +0000
   414   |  date:        Thu Jan 01 00:00:02 1970 +0000
   407   |  summary:     c_B0
   415   |  summary:     c_B0
   408   |
   416   |
   409   | x  changeset:   4:48acf2c0d9c8
   417   | x  changeset:   5:48acf2c0d9c8
   410   |/   parent:      1:579f120ba918
   418   |/   parent:      1:579f120ba918
   411   |    user:        test
   419   |    user:        test
   412   |    date:        Thu Jan 01 00:00:01 1970 +0000
   420   |    date:        Thu Jan 01 00:00:01 1970 +0000
   413   |    obsolete:    pruned using prune
   421   |    obsolete:    pruned
   414   |    summary:     c_B0
   422   |    summary:     c_B0
   415   |
   423   |
   416   | x  changeset:   3:25c8f5ab0c3b
   424   | x  changeset:   4:25c8f5ab0c3b
   417   |/   parent:      1:579f120ba918
   425   |/   parent:      1:579f120ba918
   418   |    user:        test
   426   |    user:        test
   419   |    date:        Thu Jan 01 00:00:00 1970 +0000
   427   |    date:        Thu Jan 01 00:00:00 1970 +0000
   420   |    obsolete:    rewritten using rewind as 5:d8b4471cfb3c
   428   |    obsolete:    rewritten as d8b4471cfb3c
   421   |    summary:     c_B1
   429   |    summary:     c_B1
   422   |
   430   |
       
   431   | x  changeset:   3:3d16cbe1aa2b
       
   432   | |  user:        test
       
   433   | |  date:        Thu Jan 01 00:00:00 1970 +0000
       
   434   | |  obsolete:    pruned
       
   435   | |  summary:     temporary amend commit for 7e594302a05d
       
   436   | |
   423   | x  changeset:   2:7e594302a05d
   437   | x  changeset:   2:7e594302a05d
   424   |/   user:        test
   438   |/   user:        test
   425   |    date:        Thu Jan 01 00:00:00 1970 +0000
   439   |    date:        Thu Jan 01 00:00:00 1970 +0000
   426   |    obsolete:    rewritten using rewind as 5:d8b4471cfb3c
   440   |    obsolete:    rewritten as d8b4471cfb3c
   427   |    obsolete:    rewritten using rewind as 4:48acf2c0d9c8
   441   |    obsolete:    rewritten as 48acf2c0d9c8
   428   |    obsolete:    rewritten using amend as 3:25c8f5ab0c3b
   442   |    obsolete:    rewritten as 25c8f5ab0c3b
   429   |    summary:     c_B0
   443   |    summary:     c_B0
   430   |
   444   |
   431   o  changeset:   1:579f120ba918
   445   o  changeset:   1:579f120ba918
   432   |  user:        test
   446   |  user:        test
   433   |  date:        Thu Jan 01 00:00:00 1970 +0000
   447   |  date:        Thu Jan 01 00:00:00 1970 +0000
   505      user:        test
   519      user:        test
   506      date:        Thu Jan 01 00:00:00 1970 +0000
   520      date:        Thu Jan 01 00:00:00 1970 +0000
   507      summary:     c_ROOT
   521      summary:     c_ROOT
   508   
   522   
   509   $ hg debugobsolete
   523   $ hg debugobsolete
   510   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'operation': 'split', 'user': 'test'}
   524   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'user': 'test'}
   511   $ hg obslog --all
   525   $ hg obslog --all
   512   @  9576e80d6851 (5) c_CD0
   526   @  9576e80d6851 (5) c_CD0
   513   |
   527   |
   514   | o  a0316c4c5417 (4) c_CD0
   528   | o  a0316c4c5417 (4) c_CD0
   515   |/
   529   |/
   516   x  49fb7d900906 (3) c_CD0
   530   x  49fb7d900906 (3) c_CD0
   517        rewritten(parent, content) as 9576e80d6851, a0316c4c5417 using split by test (Thu Jan 01 00:00:02 1970 +0000)
   531        rewritten(parent, content) as 9576e80d6851, a0316c4c5417 by test (Thu Jan 01 00:00:02 1970 +0000)
   518   
   532   
   519 
   533 
   520 Actual rewind
   534 Actual rewind
   521 `````````````
   535 `````````````
   522 
   536 
   523   $ hg rewind --hidden --to 'min(desc("c_CD0"))'
   537   $ hg rewind --hidden --to 'min(desc("c_CD0"))'
   524   rewinded to 1 changesets
   538   rewinded to 1 changesets
   525   (2 changesets obsoleted)
   539   (2 changesets obsoleted)
   526   working directory is now at 4535d0af405c
   540   working directory is now at 4535d0af405c
   527   $ hg debugobsolete
   541   $ hg debugobsolete
   528   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'operation': 'split', 'user': 'test'}
   542   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'user': 'test'}
   529   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'}
   543   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '2', 'user': 'test'}
   530   9576e80d6851ce79cd535e2dc5fa01b444d89a39 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '14', 'operation': 'rewind', 'user': 'test'}
   544   9576e80d6851ce79cd535e2dc5fa01b444d89a39 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '14', 'user': 'test'}
   531   a0316c4c54179357e71d068fb8884678ebc7c351 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '10', 'operation': 'rewind', 'user': 'test'}
   545   a0316c4c54179357e71d068fb8884678ebc7c351 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '10', 'user': 'test'}
   532   $ hg obslog
   546   $ hg obslog
   533   @    4535d0af405c (6) c_CD0
   547   @    4535d0af405c (6) c_CD0
   534   |\
   548   |\
   535   | \
   549   | \
   536   | |\
   550   | |\
   537   | x |  9576e80d6851 (5) c_CD0
   551   | x |  9576e80d6851 (5) c_CD0
   538   |/ /     rewritten(meta, parent, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   552   |/ /     rewritten(meta, parent, content) as 4535d0af405c by test (Thu Jan 01 00:00:02 1970 +0000)
   539   | |
   553   | |
   540   | x  a0316c4c5417 (4) c_CD0
   554   | x  a0316c4c5417 (4) c_CD0
   541   |/     rewritten(meta, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   555   |/     rewritten(meta, content) as 4535d0af405c by test (Thu Jan 01 00:00:02 1970 +0000)
   542   |
   556   |
   543   x  49fb7d900906 (3) c_CD0
   557   x  49fb7d900906 (3) c_CD0
   544        rewritten(meta) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   558        rewritten(meta) as 4535d0af405c by test (Thu Jan 01 00:00:02 1970 +0000)
   545        rewritten(parent, content) as 9576e80d6851, a0316c4c5417 using split by test (Thu Jan 01 00:00:02 1970 +0000)
   559        rewritten(parent, content) as 9576e80d6851, a0316c4c5417 by test (Thu Jan 01 00:00:02 1970 +0000)
   546   
   560   
   547   $ hg log -G
   561   $ hg log -G
   548   @  changeset:   6:4535d0af405c
   562   @  changeset:   6:4535d0af405c
   549   |  tag:         tip
   563   |  tag:         tip
   550   |  parent:      2:7e594302a05d
   564   |  parent:      2:7e594302a05d
   582   $ hg rewind --to '9576e80d6851+a0316c4c5417' --hidden
   596   $ hg rewind --to '9576e80d6851+a0316c4c5417' --hidden
   583   rewinded to 2 changesets
   597   rewinded to 2 changesets
   584   (1 changesets obsoleted)
   598   (1 changesets obsoleted)
   585   working directory is now at 85be7b94f69e
   599   working directory is now at 85be7b94f69e
   586   $ hg debugobsolete
   600   $ hg debugobsolete
   587   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'operation': 'split', 'user': 'test'}
   601   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'user': 'test'}
   588   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'}
   602   49fb7d900906b0a3d329e90da4dcb0a7582d3b6e 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '2', 'user': 'test'}
   589   9576e80d6851ce79cd535e2dc5fa01b444d89a39 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '14', 'operation': 'rewind', 'user': 'test'}
   603   9576e80d6851ce79cd535e2dc5fa01b444d89a39 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '14', 'user': 'test'}
   590   a0316c4c54179357e71d068fb8884678ebc7c351 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '10', 'operation': 'rewind', 'user': 'test'}
   604   a0316c4c54179357e71d068fb8884678ebc7c351 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '10', 'user': 'test'}
   591   a0316c4c54179357e71d068fb8884678ebc7c351 73a1ac2e570de1f33bbea7d8260b00d5af1d30a7 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   605   a0316c4c54179357e71d068fb8884678ebc7c351 73a1ac2e570de1f33bbea7d8260b00d5af1d30a7 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'user': 'test'}
   592   9576e80d6851ce79cd535e2dc5fa01b444d89a39 85be7b94f69e936d6f0fc52118211da82fe4e838 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   606   9576e80d6851ce79cd535e2dc5fa01b444d89a39 85be7b94f69e936d6f0fc52118211da82fe4e838 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'user': 'test'}
   593   4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 73a1ac2e570de1f33bbea7d8260b00d5af1d30a7 85be7b94f69e936d6f0fc52118211da82fe4e838 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '46', 'operation': 'rewind', 'user': 'test'}
   607   4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 73a1ac2e570de1f33bbea7d8260b00d5af1d30a7 85be7b94f69e936d6f0fc52118211da82fe4e838 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '46', 'user': 'test'}
   594   $ hg obslog -r -2:
   608   $ hg obslog -r -2:
   595   o    73a1ac2e570d (7) c_CD0
   609   o    73a1ac2e570d (7) c_CD0
   596   |\
   610   |\
   597   +---@  85be7b94f69e (8) c_CD0
   611   +---@  85be7b94f69e (8) c_CD0
   598   | | |
   612   | | |
   599   x---+  4535d0af405c (6) c_CD0
   613   x---+  4535d0af405c (6) c_CD0
   600   |\| |    rewritten(meta, date, parent, content) as 73a1ac2e570d, 85be7b94f69e using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   614   |\| |    rewritten(meta, date, parent, content) as 73a1ac2e570d, 85be7b94f69e by test (Thu Jan 01 00:00:03 1970 +0000)
   601   | | |
   615   | | |
   602   +---x  9576e80d6851 (5) c_CD0
   616   +---x  9576e80d6851 (5) c_CD0
   603   | |      rewritten(meta, parent, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   617   | |      rewritten(meta, parent, content) as 4535d0af405c by test (Thu Jan 01 00:00:02 1970 +0000)
   604   | |      rewritten(meta, date, parent) as 85be7b94f69e using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   618   | |      rewritten(meta, date, parent) as 85be7b94f69e by test (Thu Jan 01 00:00:03 1970 +0000)
   605   | |
   619   | |
   606   | x  a0316c4c5417 (4) c_CD0
   620   | x  a0316c4c5417 (4) c_CD0
   607   |/     rewritten(meta, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   621   |/     rewritten(meta, content) as 4535d0af405c by test (Thu Jan 01 00:00:02 1970 +0000)
   608   |      rewritten(meta, date) as 73a1ac2e570d using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   622   |      rewritten(meta, date) as 73a1ac2e570d by test (Thu Jan 01 00:00:03 1970 +0000)
   609   |
   623   |
   610   x  49fb7d900906 (3) c_CD0
   624   x  49fb7d900906 (3) c_CD0
   611        rewritten(meta) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000)
   625        rewritten(meta) as 4535d0af405c by test (Thu Jan 01 00:00:02 1970 +0000)
   612        rewritten(parent, content) as 9576e80d6851, a0316c4c5417 using split by test (Thu Jan 01 00:00:02 1970 +0000)
   626        rewritten(parent, content) as 9576e80d6851, a0316c4c5417 by test (Thu Jan 01 00:00:02 1970 +0000)
   613   
   627   
   614   $ hg log -G
   628   $ hg log -G
   615   @  changeset:   8:85be7b94f69e
   629   @  changeset:   8:85be7b94f69e
   616   |  tag:         tip
   630   |  tag:         tip
   617   |  user:        test
   631   |  user:        test
   657 
   671 
   658   $ hg up 'desc("c_A0")'
   672   $ hg up 'desc("c_A0")'
   659   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   673   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   660   $ echo AA >> A
   674   $ echo AA >> A
   661   $ hg amend -m 'c_A1'
   675   $ hg amend -m 'c_A1'
   662   1 new orphan changesets
   676   1 new unstable changesets
   663   $ hg evolve --all
   677   $ hg evolve --all
   664   move:[2] c_B0
   678   move:[2] c_B0
   665   atop:[3] c_A1
   679   atop:[4] c_A1
   666   working directory is now at a65fceb2324a
   680   working directory is now at a65fceb2324a
   667   $ hg debugobsolete
   681   $ hg debugobsolete
   668   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
   682   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'user': 'test'}
   669   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
   683   ddb26d894c1c661052affbfb400159e34baae86e 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '0', 'user': 'test'}
       
   684   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'user': 'test'}
   670   $ hg obslog -r 'desc("c_A1")::'
   685   $ hg obslog -r 'desc("c_A1")::'
   671   @  a65fceb2324a (4) c_B0
   686   @  a65fceb2324a (5) c_B0
   672   |
   687   |
   673   | o  d952d1794ff6 (3) c_A1
   688   | o  d952d1794ff6 (4) c_A1
   674   | |
   689   | |
   675   | x  579f120ba918 (1) c_A0
   690   | x  579f120ba918 (1) c_A0
   676   |      rewritten(description, content) as d952d1794ff6 using amend by test (Thu Jan 01 00:00:03 1970 +0000)
   691   |      rewritten(description, content) as d952d1794ff6 by test (Thu Jan 01 00:00:03 1970 +0000)
   677   |
   692   |
   678   x  7e594302a05d (2) c_B0
   693   x  7e594302a05d (2) c_B0
   679        rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000)
   694        rewritten(parent) as a65fceb2324a by test (Thu Jan 01 00:00:03 1970 +0000)
   680   
   695   
   681   $ hg log -G
   696   $ hg log -G
   682   @  changeset:   4:a65fceb2324a
   697   @  changeset:   5:a65fceb2324a
   683   |  tag:         tip
   698   |  tag:         tip
   684   |  user:        test
   699   |  user:        test
   685   |  date:        Thu Jan 01 00:00:00 1970 +0000
   700   |  date:        Thu Jan 01 00:00:00 1970 +0000
   686   |  summary:     c_B0
   701   |  summary:     c_B0
   687   |
   702   |
   688   o  changeset:   3:d952d1794ff6
   703   o  changeset:   4:d952d1794ff6
   689   |  parent:      0:eba9c2249fe7
   704   |  parent:      0:eba9c2249fe7
   690   |  user:        test
   705   |  user:        test
   691   |  date:        Thu Jan 01 00:00:00 1970 +0000
   706   |  date:        Thu Jan 01 00:00:00 1970 +0000
   692   |  summary:     c_A1
   707   |  summary:     c_A1
   693   |
   708   |
   703   $ hg rewind --hidden --to 'min(desc(c_B0))' --exact
   718   $ hg rewind --hidden --to 'min(desc(c_B0))' --exact
   704   rewinded to 1 changesets
   719   rewinded to 1 changesets
   705   (1 changesets obsoleted)
   720   (1 changesets obsoleted)
   706   working directory is now at 96622b0702dd
   721   working directory is now at 96622b0702dd
   707   $ hg debugobsolete
   722   $ hg debugobsolete
   708   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
   723   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'user': 'test'}
   709   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
   724   ddb26d894c1c661052affbfb400159e34baae86e 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '0', 'user': 'test'}
   710   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   725   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'user': 'test'}
   711   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   726   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'user': 'test'}
       
   727   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'user': 'test'}
   712   $ hg obslog
   728   $ hg obslog
   713   @    96622b0702dd (5) c_B0
   729   @    96622b0702dd (6) c_B0
   714   |\
   730   |\
   715   | x  a65fceb2324a (4) c_B0
   731   | x  a65fceb2324a (5) c_B0
   716   |/     rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   732   |/     rewritten(meta, date, parent) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   717   |
   733   |
   718   x  7e594302a05d (2) c_B0
   734   x  7e594302a05d (2) c_B0
   719        rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   735        rewritten(meta, date) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   720        rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000)
   736        rewritten(parent) as a65fceb2324a by test (Thu Jan 01 00:00:03 1970 +0000)
   721   
   737   
   722   $ hg log -G
   738   $ hg log -G
   723   @  changeset:   5:96622b0702dd
   739   @  changeset:   6:96622b0702dd
   724   |  tag:         tip
   740   |  tag:         tip
   725   |  parent:      1:579f120ba918
   741   |  parent:      1:579f120ba918
   726   |  user:        test
   742   |  user:        test
   727   |  date:        Thu Jan 01 00:00:03 1970 +0000
   743   |  date:        Thu Jan 01 00:00:03 1970 +0000
   728   |  instability: orphan
   744   |  trouble:     unstable
   729   |  summary:     c_B0
   745   |  summary:     c_B0
   730   |
   746   |
   731   | o  changeset:   3:d952d1794ff6
   747   | o  changeset:   4:d952d1794ff6
   732   | |  parent:      0:eba9c2249fe7
   748   | |  parent:      0:eba9c2249fe7
   733   | |  user:        test
   749   | |  user:        test
   734   | |  date:        Thu Jan 01 00:00:00 1970 +0000
   750   | |  date:        Thu Jan 01 00:00:00 1970 +0000
   735   | |  summary:     c_A1
   751   | |  summary:     c_A1
   736   | |
   752   | |
   737   x |  changeset:   1:579f120ba918
   753   x |  changeset:   1:579f120ba918
   738   |/   user:        test
   754   |/   user:        test
   739   |    date:        Thu Jan 01 00:00:00 1970 +0000
   755   |    date:        Thu Jan 01 00:00:00 1970 +0000
   740   |    obsolete:    rewritten using amend as 3:d952d1794ff6
   756   |    obsolete:    rewritten as d952d1794ff6
   741   |    summary:     c_A0
   757   |    summary:     c_A0
   742   |
   758   |
   743   o  changeset:   0:eba9c2249fe7
   759   o  changeset:   0:eba9c2249fe7
   744      user:        test
   760      user:        test
   745      date:        Thu Jan 01 00:00:00 1970 +0000
   761      date:        Thu Jan 01 00:00:00 1970 +0000
   756   rewinded to 1 changesets
   772   rewinded to 1 changesets
   757   (1 changesets obsoleted)
   773   (1 changesets obsoleted)
   758   working directory is now at 7b1440274cc3
   774   working directory is now at 7b1440274cc3
   759   $ echo 'default-date = 5 0' >> $HGRCPATH
   775   $ echo 'default-date = 5 0' >> $HGRCPATH
   760   $ hg log -G
   776   $ hg log -G
   761   @  changeset:   6:7b1440274cc3
   777   @  changeset:   7:7b1440274cc3
   762   |  tag:         tip
   778   |  tag:         tip
   763   |  parent:      3:d952d1794ff6
   779   |  parent:      4:d952d1794ff6
   764   |  user:        test
   780   |  user:        test
   765   |  date:        Thu Jan 01 00:00:04 1970 +0000
   781   |  date:        Thu Jan 01 00:00:04 1970 +0000
   766   |  summary:     c_B0
   782   |  summary:     c_B0
   767   |
   783   |
   768   o  changeset:   3:d952d1794ff6
   784   o  changeset:   4:d952d1794ff6
   769   |  parent:      0:eba9c2249fe7
   785   |  parent:      0:eba9c2249fe7
   770   |  user:        test
   786   |  user:        test
   771   |  date:        Thu Jan 01 00:00:00 1970 +0000
   787   |  date:        Thu Jan 01 00:00:00 1970 +0000
   772   |  summary:     c_A1
   788   |  summary:     c_A1
   773   |
   789   |
   775      user:        test
   791      user:        test
   776      date:        Thu Jan 01 00:00:00 1970 +0000
   792      date:        Thu Jan 01 00:00:00 1970 +0000
   777      summary:     c_ROOT
   793      summary:     c_ROOT
   778   
   794   
   779   $ hg debugobsolete
   795   $ hg debugobsolete
   780   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
   796   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'user': 'test'}
   781   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
   797   ddb26d894c1c661052affbfb400159e34baae86e 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '0', 'user': 'test'}
   782   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   798   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'user': 'test'}
   783   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   799   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'user': 'test'}
   784   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   800   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'user': 'test'}
   785   96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   801   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'user': 'test'}
       
   802   96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'user': 'test'}
   786   $ hg obslog
   803   $ hg obslog
   787   @    7b1440274cc3 (6) c_B0
   804   @    7b1440274cc3 (7) c_B0
   788   |\
   805   |\
   789   x |  96622b0702dd (5) c_B0
   806   x |  96622b0702dd (6) c_B0
   790   |\|    rewritten(meta, date, parent) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000)
   807   |\|    rewritten(meta, date, parent) as 7b1440274cc3 by test (Thu Jan 01 00:00:04 1970 +0000)
   791   | |
   808   | |
   792   | x  a65fceb2324a (4) c_B0
   809   | x  a65fceb2324a (5) c_B0
   793   |/     rewritten(meta, date) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000)
   810   |/     rewritten(meta, date) as 7b1440274cc3 by test (Thu Jan 01 00:00:04 1970 +0000)
   794   |      rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   811   |      rewritten(meta, date, parent) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   795   |
   812   |
   796   x  7e594302a05d (2) c_B0
   813   x  7e594302a05d (2) c_B0
   797        rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   814        rewritten(meta, date) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   798        rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000)
   815        rewritten(parent) as a65fceb2324a by test (Thu Jan 01 00:00:03 1970 +0000)
   799   
   816   
   800 Automatically rewinding the full stack (with --to)
   817 Automatically rewinding the full stack (with --to)
   801 --------------------------------------------------
   818 --------------------------------------------------
   802 
   819 
   803   $ hg rewind --hidden --to 'precursors(.)'
   820   $ hg rewind --hidden --to 'precursors(.)'
   804   rewinded to 2 changesets
   821   rewinded to 2 changesets
   805   (2 changesets obsoleted)
   822   (2 changesets obsoleted)
   806   working directory is now at 70892f498f29
   823   working directory is now at 70892f498f29
   807   $ hg debugobsolete
   824   $ hg debugobsolete
   808   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
   825   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'user': 'test'}
   809   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
   826   ddb26d894c1c661052affbfb400159e34baae86e 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '0', 'user': 'test'}
   810   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   827   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'user': 'test'}
   811   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   828   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'user': 'test'}
   812   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   829   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'user': 'test'}
   813   96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   830   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'user': 'test'}
   814   579f120ba91885449adc92eedf48ef3569742cee c0d232501dd8e52b8ca8a266f25db89f5120c17f 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   831   96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'user': 'test'}
   815   96622b0702dd86e3a702b0235b420da41f072efe 70892f498f2993d626848bb312ff856168d0b9c4 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   832   579f120ba91885449adc92eedf48ef3569742cee c0d232501dd8e52b8ca8a266f25db89f5120c17f 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '34', 'user': 'test'}
   816   7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 70892f498f2993d626848bb312ff856168d0b9c4 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   833   96622b0702dd86e3a702b0235b420da41f072efe 70892f498f2993d626848bb312ff856168d0b9c4 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'user': 'test'}
   817   d952d1794ff657f5c2a82225d2e6307ed930b32f c0d232501dd8e52b8ca8a266f25db89f5120c17f 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'}
   834   7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 70892f498f2993d626848bb312ff856168d0b9c4 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'user': 'test'}
       
   835   d952d1794ff657f5c2a82225d2e6307ed930b32f c0d232501dd8e52b8ca8a266f25db89f5120c17f 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '43', 'user': 'test'}
   818   $ hg obslog
   836   $ hg obslog
   819   @    70892f498f29 (8) c_B0
   837   @    70892f498f29 (9) c_B0
   820   |\
   838   |\
   821   x |  7b1440274cc3 (6) c_B0
   839   x |  7b1440274cc3 (7) c_B0
   822   |\|    rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000)
   840   |\|    rewritten(meta, date, parent) as 70892f498f29 by test (Thu Jan 01 00:00:05 1970 +0000)
   823   | |
   841   | |
   824   | x  96622b0702dd (5) c_B0
   842   | x  96622b0702dd (6) c_B0
   825   |/|    rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000)
   843   |/|    rewritten(meta, date, parent) as 70892f498f29 by test (Thu Jan 01 00:00:05 1970 +0000)
   826   | |    rewritten(meta, date, parent) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000)
   844   | |    rewritten(meta, date, parent) as 7b1440274cc3 by test (Thu Jan 01 00:00:04 1970 +0000)
   827   | |
   845   | |
   828   x |  a65fceb2324a (4) c_B0
   846   x |  a65fceb2324a (5) c_B0
   829   |/     rewritten(meta, date) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000)
   847   |/     rewritten(meta, date) as 7b1440274cc3 by test (Thu Jan 01 00:00:04 1970 +0000)
   830   |      rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   848   |      rewritten(meta, date, parent) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   831   |
   849   |
   832   x  7e594302a05d (2) c_B0
   850   x  7e594302a05d (2) c_B0
   833        rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   851        rewritten(meta, date) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   834        rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000)
   852        rewritten(parent) as a65fceb2324a by test (Thu Jan 01 00:00:03 1970 +0000)
   835   
   853   
   836   $ hg log -G
   854   $ hg log -G
   837   @  changeset:   8:70892f498f29
   855   @  changeset:   9:70892f498f29
   838   |  tag:         tip
   856   |  tag:         tip
   839   |  user:        test
   857   |  user:        test
   840   |  date:        Thu Jan 01 00:00:05 1970 +0000
   858   |  date:        Thu Jan 01 00:00:05 1970 +0000
   841   |  summary:     c_B0
   859   |  summary:     c_B0
   842   |
   860   |
   843   o  changeset:   7:c0d232501dd8
   861   o  changeset:   8:c0d232501dd8
   844   |  parent:      0:eba9c2249fe7
   862   |  parent:      0:eba9c2249fe7
   845   |  user:        test
   863   |  user:        test
   846   |  date:        Thu Jan 01 00:00:05 1970 +0000
   864   |  date:        Thu Jan 01 00:00:05 1970 +0000
   847   |  summary:     c_A0
   865   |  summary:     c_A0
   848   |
   866   |
   859   $ hg rewind --hidden --from '.'
   877   $ hg rewind --hidden --from '.'
   860   rewinded to 2 changesets
   878   rewinded to 2 changesets
   861   (2 changesets obsoleted)
   879   (2 changesets obsoleted)
   862   working directory is now at 141aedbbde8f
   880   working directory is now at 141aedbbde8f
   863   $ hg debugobsolete
   881   $ hg debugobsolete
   864   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
   882   579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'user': 'test'}
   865   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
   883   ddb26d894c1c661052affbfb400159e34baae86e 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '0', 'user': 'test'}
   866   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   884   7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'user': 'test'}
   867   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   885   7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'user': 'test'}
   868   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   886   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'user': 'test'}
   869   96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   887   a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'user': 'test'}
   870   579f120ba91885449adc92eedf48ef3569742cee c0d232501dd8e52b8ca8a266f25db89f5120c17f 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   888   96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'user': 'test'}
   871   96622b0702dd86e3a702b0235b420da41f072efe 70892f498f2993d626848bb312ff856168d0b9c4 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   889   579f120ba91885449adc92eedf48ef3569742cee c0d232501dd8e52b8ca8a266f25db89f5120c17f 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '34', 'user': 'test'}
   872   7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 70892f498f2993d626848bb312ff856168d0b9c4 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   890   96622b0702dd86e3a702b0235b420da41f072efe 70892f498f2993d626848bb312ff856168d0b9c4 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'user': 'test'}
   873   d952d1794ff657f5c2a82225d2e6307ed930b32f c0d232501dd8e52b8ca8a266f25db89f5120c17f 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'}
   891   7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 70892f498f2993d626848bb312ff856168d0b9c4 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'user': 'test'}
   874   d952d1794ff657f5c2a82225d2e6307ed930b32f 7b4aed5e99d2734da6cc25f0095876c5cb6e8084 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'}
   892   d952d1794ff657f5c2a82225d2e6307ed930b32f c0d232501dd8e52b8ca8a266f25db89f5120c17f 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '43', 'user': 'test'}
   875   7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 141aedbbde8f407fc8a8a7355221733b0fc01ca5 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   893   d952d1794ff657f5c2a82225d2e6307ed930b32f 7b4aed5e99d2734da6cc25f0095876c5cb6e8084 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '34', 'user': 'test'}
   876   70892f498f2993d626848bb312ff856168d0b9c4 141aedbbde8f407fc8a8a7355221733b0fc01ca5 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'}
   894   7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 141aedbbde8f407fc8a8a7355221733b0fc01ca5 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '38', 'user': 'test'}
   877   c0d232501dd8e52b8ca8a266f25db89f5120c17f 7b4aed5e99d2734da6cc25f0095876c5cb6e8084 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'}
   895   70892f498f2993d626848bb312ff856168d0b9c4 141aedbbde8f407fc8a8a7355221733b0fc01ca5 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '38', 'user': 'test'}
       
   896   c0d232501dd8e52b8ca8a266f25db89f5120c17f 7b4aed5e99d2734da6cc25f0095876c5cb6e8084 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '43', 'user': 'test'}
   878   $ hg obslog
   897   $ hg obslog
   879   @    141aedbbde8f (10) c_B0
   898   @    141aedbbde8f (11) c_B0
   880   |\
   899   |\
   881   x |  70892f498f29 (8) c_B0
   900   x |  70892f498f29 (9) c_B0
   882   |\|    rewritten(meta, date, parent) as 141aedbbde8f using rewind by test (Thu Jan 01 00:00:06 1970 +0000)
   901   |\|    rewritten(meta, date, parent) as 141aedbbde8f by test (Thu Jan 01 00:00:06 1970 +0000)
   883   | |
   902   | |
   884   | x  7b1440274cc3 (6) c_B0
   903   | x  7b1440274cc3 (7) c_B0
   885   |/|    rewritten(meta, date, parent) as 141aedbbde8f using rewind by test (Thu Jan 01 00:00:06 1970 +0000)
   904   |/|    rewritten(meta, date, parent) as 141aedbbde8f by test (Thu Jan 01 00:00:06 1970 +0000)
   886   | |    rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000)
   905   | |    rewritten(meta, date, parent) as 70892f498f29 by test (Thu Jan 01 00:00:05 1970 +0000)
   887   | |
   906   | |
   888   x |  96622b0702dd (5) c_B0
   907   x |  96622b0702dd (6) c_B0
   889   |\|    rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000)
   908   |\|    rewritten(meta, date, parent) as 70892f498f29 by test (Thu Jan 01 00:00:05 1970 +0000)
   890   | |    rewritten(meta, date, parent) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000)
   909   | |    rewritten(meta, date, parent) as 7b1440274cc3 by test (Thu Jan 01 00:00:04 1970 +0000)
   891   | |
   910   | |
   892   | x  a65fceb2324a (4) c_B0
   911   | x  a65fceb2324a (5) c_B0
   893   |/     rewritten(meta, date) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000)
   912   |/     rewritten(meta, date) as 7b1440274cc3 by test (Thu Jan 01 00:00:04 1970 +0000)
   894   |      rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   913   |      rewritten(meta, date, parent) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   895   |
   914   |
   896   x  7e594302a05d (2) c_B0
   915   x  7e594302a05d (2) c_B0
   897        rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000)
   916        rewritten(meta, date) as 96622b0702dd by test (Thu Jan 01 00:00:03 1970 +0000)
   898        rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000)
   917        rewritten(parent) as a65fceb2324a by test (Thu Jan 01 00:00:03 1970 +0000)
   899   
   918   
   900   $ hg log -G
   919   $ hg log -G
   901   @  changeset:   10:141aedbbde8f
   920   @  changeset:   11:141aedbbde8f
   902   |  tag:         tip
   921   |  tag:         tip
   903   |  user:        test
   922   |  user:        test
   904   |  date:        Thu Jan 01 00:00:06 1970 +0000
   923   |  date:        Thu Jan 01 00:00:06 1970 +0000
   905   |  summary:     c_B0
   924   |  summary:     c_B0
   906   |
   925   |
   907   o  changeset:   9:7b4aed5e99d2
   926   o  changeset:   10:7b4aed5e99d2
   908   |  parent:      0:eba9c2249fe7
   927   |  parent:      0:eba9c2249fe7
   909   |  user:        test
   928   |  user:        test
   910   |  date:        Thu Jan 01 00:00:06 1970 +0000
   929   |  date:        Thu Jan 01 00:00:06 1970 +0000
   911   |  summary:     c_A1
   930   |  summary:     c_A1
   912   |
   931   |