tests/test-obsolete-push.t
branchmercurial-3.8
changeset 2802 41c9a4df628e
parent 2534 b3dac812fb2a
parent 2776 4dd84054ebbb
child 3005 f66227d76402
equal deleted inserted replaced
2801:49494d0155b7 2802:41c9a4df628e
     3   > amend=-d "0 0"
     3   > amend=-d "0 0"
     4   > [extensions]
     4   > [extensions]
     5   > EOF
     5   > EOF
     6   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
     6   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
     7 
     7 
     8   $ template='{rev}:{node|short}@{branch}({separate("/", obsolete, phase)}) {desc|firstline}\n'
     8   $ template='{rev}:{node|short}@{branch}({obsolete}/{phase}) {desc|firstline}\n'
     9   $ glog() {
     9   $ glog() {
    10   >   hg log -G --template "$template" "$@"
    10   >   hg log -G --template "$template" "$@"
    11   > }
    11   > }
    12 
    12 
    13 Test outgoing, common A is suspended, B unstable and C secret, remote
    13 Test outgoing, common A is suspended, B unstable and C secret, remote
    26   $ hg phase --secret --force .
    26   $ hg phase --secret --force .
    27   $ hg prune 0 1
    27   $ hg prune 0 1
    28   2 changesets pruned
    28   2 changesets pruned
    29   1 new unstable changesets
    29   1 new unstable changesets
    30   $ glog --hidden
    30   $ glog --hidden
    31   @  2:244232c2222a@default(secret) C
    31   @  2:244232c2222a@default(/secret) C
    32   |
    32   |
    33   | x  1:6c81ed0049f8@default(obsolete/draft) B
    33   | x  1:6c81ed0049f8@default(obsolete/draft) B
    34   |/
    34   |/
    35   x  0:1994f17a630e@default(obsolete/draft) A
    35   x  0:1994f17a630e@default(obsolete/draft) A
    36   
    36