tests/test-obsolete-push.t
changeset 4246 2d9902f0ff17
parent 3075 8feb2cae7eae
child 4287 b7b6a4524ef7
equal deleted inserted replaced
4245:419801742d08 4246:2d9902f0ff17
     2   > [defaults]
     2   > [defaults]
     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   $ echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic/" >> $HGRCPATH
     7 
     8 
     8   $ template='{rev}:{node|short}@{branch}({separate("/", obsolete, phase)}) {desc|firstline}\n'
     9   $ template='{rev}:{node|short}@{branch}({separate("/", obsolete, phase)}) {desc|firstline}\n'
     9   $ glog() {
    10   $ glog() {
    10   >   hg log -G --template "$template" "$@"
    11   >   hg log -G --template "$template" "$@"
    11   > }
    12   > }
    89   searching for changes
    90   searching for changes
    90   adding changesets
    91   adding changesets
    91   adding manifests
    92   adding manifests
    92   adding file changes
    93   adding file changes
    93   added 0 changesets with 0 changes to 1 files
    94   added 0 changesets with 0 changes to 1 files
       
    95 
       
    96 --publish overrides auto-publish
       
    97 
       
    98   $ echo d > d
       
    99   $ hg ci -qAm D d
       
   100   $ hg push -r . --publish --config experimental.auto-publish=abort
       
   101   pushing to $TESTTMP/source
       
   102   searching for changes
       
   103   adding changesets
       
   104   adding manifests
       
   105   adding file changes
       
   106   added 1 changesets with 1 changes to 1 files