tests/test-evolve-public-content-divergent-main.t
branchmercurial-4.6
changeset 4867 769b907e644e
parent 4784 ecf0f3bc7468
child 5163 1752a2e7a226
equal deleted inserted replaced
4866:2a500c5e293b 4867:769b907e644e
    46   $ hg phase --public
    46   $ hg phase --public
    47 
    47 
    48 Amend again to create a cset divergent to public one:
    48 Amend again to create a cset divergent to public one:
    49 
    49 
    50   $ hg up 1 --hidden -q
    50   $ hg up 1 --hidden -q
    51   updated to hidden changeset 5f6d8a4bf34a
    51   updating to a hidden changeset 5f6d8a4bf34a
    52   (hidden revision '5f6d8a4bf34a' was rewritten as: 44f360db368f)
    52   (hidden revision '5f6d8a4bf34a' was rewritten as: 44f360db368f)
    53   working directory parent is obsolete! (5f6d8a4bf34a)
    53   working directory parent is obsolete! (5f6d8a4bf34a)
    54 
    54 
    55   $ echo "I am second" >> b
    55   $ echo "I am second" >> b
    56   $ hg ci --amend -m "updated b"
    56   $ hg ci --amend -m "updated b"
   140   $ hg phase --public
   140   $ hg phase --public
   141 
   141 
   142 Amend again to create a cset divergent to public one:
   142 Amend again to create a cset divergent to public one:
   143 
   143 
   144   $ hg up 1 --hidden -q
   144   $ hg up 1 --hidden -q
   145   updated to hidden changeset 5f6d8a4bf34a
   145   updating to a hidden changeset 5f6d8a4bf34a
   146   (hidden revision '5f6d8a4bf34a' was rewritten as: 580f2d01e52c)
   146   (hidden revision '5f6d8a4bf34a' was rewritten as: 580f2d01e52c)
   147   working directory parent is obsolete! (5f6d8a4bf34a)
   147   working directory parent is obsolete! (5f6d8a4bf34a)
   148 
   148 
   149   $ echo "I am bar" > b
   149   $ echo "I am bar" > b
   150   $ hg ci --amend -m "updated b"
   150   $ hg ci --amend -m "updated b"