tests/test-rewind.t
changeset 5323 417503ef667d
parent 5123 900668a93629
child 5349 e8660b28bfee
equal deleted inserted replaced
5322:498dc888ff40 5323:417503ef667d
  1003 Clean wdir
  1003 Clean wdir
  1004 
  1004 
  1005   $ hg rewind --keep --to 'desc("initial")' --hidden
  1005   $ hg rewind --keep --to 'desc("initial")' --hidden
  1006   rewinded to 1 changesets
  1006   rewinded to 1 changesets
  1007   (1 changesets obsoleted)
  1007   (1 changesets obsoleted)
       
  1008   $ hg debugobsolete
       
  1009   30704102d912d9d35a3d51400c4c93ad1e8bc7f3 2ea5be2f87510c7d26d5866dec83b57a7d939c4a 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
       
  1010   30704102d912d9d35a3d51400c4c93ad1e8bc7f3 b4c97fddc16aa57693fa0a730d4b44ceb75bb35c 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'}
       
  1011   2ea5be2f87510c7d26d5866dec83b57a7d939c4a b4c97fddc16aa57693fa0a730d4b44ceb75bb35c 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '11', 'operation': 'rewind', 'user': 'test'}
  1008   $ hg obslog
  1012   $ hg obslog
  1009   @    b4c97fddc16a (3) initial
  1013   @    b4c97fddc16a (3) initial
  1010   |\
  1014   |\
  1011   x |  2ea5be2f8751 (2) amended
  1015   x |  2ea5be2f8751 (2) amended
  1012   |/     rewritten(description, meta, content) as b4c97fddc16a using rewind by test (Thu Jan 01 00:00:06 1970 +0000)
  1016   |/     rewritten(description, meta, content) as b4c97fddc16a using rewind by test (Thu Jan 01 00:00:06 1970 +0000)