tests/test-touch.t
branchmercurial-4.6
changeset 5368 844b1ad5b34b
parent 5163 1752a2e7a226
parent 5349 e8660b28bfee
equal deleted inserted replaced
5284:0471b9ddd0b2 5368:844b1ad5b34b
   155 
   155 
   156   $ hg prune 13
   156   $ hg prune 13
   157   1 changesets pruned
   157   1 changesets pruned
   158   $ hg touch 13 --hidden --note "testing with no successor"
   158   $ hg touch 13 --hidden --note "testing with no successor"
   159   1 new orphan changesets
   159   1 new orphan changesets
   160   $ hg obslog -r 13 --hidden
   160   $ hg debugobsolete
       
   161   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'touch', 'user': 'test'} (glob)
       
   162   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} (glob)
       
   163   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'touch', 'user': 'test'} (glob)
       
   164   * 0 {0000000000000000000000000000000000000000} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} (glob)
       
   165   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'touch', 'user': 'test'} (glob)
       
   166   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'touch', 'user': 'test'} (glob)
       
   167   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'touch', 'user': 'test'} (glob)
       
   168   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} (glob)
       
   169   * 0 {*} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} (glob)
       
   170   * * 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'note': 'testing with no successor', 'operation': 'touch', 'user': 'test'} (glob)
       
   171   $ hg obslog -r 13 --no-origin --hidden
   161   x  [0-9a-f]{12} (.*) move (re)
   172   x  [0-9a-f]{12} (.*) move (re)
   162        pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000)
   173        pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000)
   163        rewritten(.*) as [0-9a-f]{12} using touch by test (.*) (re)
   174        rewritten(.*) as [0-9a-f]{12} using touch by test (.*) (re)
   164          note: testing with no successor
   175          note: testing with no successor
   165   
   176