tests/test-obsolete.t
changeset 377 1d6cc8c22cd9
parent 359 43f79983f638
parent 374 2c969d1b18e0
child 381 3a161a89d65d
equal deleted inserted replaced
372:de3d112db51b 377:1d6cc8c22cd9
   155   $ hg init ../other-new
   155   $ hg init ../other-new
   156   $ hg phase --draft 'secret() - extinct()' # until we fix exclusion
   156   $ hg phase --draft 'secret() - extinct()' # until we fix exclusion
   157   $ hg push ../other-new
   157   $ hg push ../other-new
   158   pushing to ../other-new
   158   pushing to ../other-new
   159   searching for changes
   159   searching for changes
   160   abort: Trying to push unstable changeset: a7a6f2b5d8a5!
   160   abort: push includes an unstable changeset: a7a6f2b5d8a5!
   161   (use 'hg stabilize' to get a stable history (or --force to proceed))
   161   (use 'hg stabilize' to get a stable history (or --force to proceed))
   162   [255]
   162   [255]
   163   $ hg push -f ../other-new
   163   $ hg push -f ../other-new
   164   pushing to ../other-new
   164   pushing to ../other-new
   165   searching for changes
   165   searching for changes
   208   3
   208   3
   209   - 0d3f46688ccc
   209   - 0d3f46688ccc
   210   $ hg push ../other-new
   210   $ hg push ../other-new
   211   pushing to ../other-new
   211   pushing to ../other-new
   212   searching for changes
   212   searching for changes
   213   abort: Trying to push unstable changeset: 95de7fc6918d!
   213   abort: push includes an unstable changeset: 95de7fc6918d!
   214   (use 'hg stabilize' to get a stable history (or --force to proceed))
   214   (use 'hg stabilize' to get a stable history (or --force to proceed))
   215   [255]
   215   [255]
   216   $ hg push ../other-new -f # use f because there is unstability
   216   $ hg push ../other-new -f # use f because there is unstability
   217   pushing to ../other-new
   217   pushing to ../other-new
   218   searching for changes
   218   searching for changes
   277   $ echo '[extensions]'  > ../other-old/.hg/hgrc
   277   $ echo '[extensions]'  > ../other-old/.hg/hgrc
   278   $ echo "obsolete=!$(echo $(dirname $TESTDIR))/obsolete.py" >> ../other-old/.hg/hgrc
   278   $ echo "obsolete=!$(echo $(dirname $TESTDIR))/obsolete.py" >> ../other-old/.hg/hgrc
   279   $ hg push ../other-old
   279   $ hg push ../other-old
   280   pushing to ../other-old
   280   pushing to ../other-old
   281   searching for changes
   281   searching for changes
   282   abort: Trying to push unstable changeset: 909a0fb57e5d!
   282   abort: push includes an unstable changeset: 909a0fb57e5d!
   283   (use 'hg stabilize' to get a stable history (or --force to proceed))
   283   (use 'hg stabilize' to get a stable history (or --force to proceed))
   284   [255]
   284   [255]
   285   $ hg push -f ../other-old
   285   $ hg push -f ../other-old
   286   pushing to ../other-old
   286   pushing to ../other-old
   287   searching for changes
   287   searching for changes
   527   summary:     add obsol_d'''
   527   summary:     add obsol_d'''
   528   
   528   
   529   $ hg push ../other-new/
   529   $ hg push ../other-new/
   530   pushing to ../other-new/
   530   pushing to ../other-new/
   531   searching for changes
   531   searching for changes
   532   abort: Trying to push latecomer changeset: 6db5e282cb91!
   532   abort: push includes an latecomer changeset: 6db5e282cb91!
   533   (use 'hg stabilize' to get a stable history (or --force to proceed))
   533   (use 'hg stabilize' to get a stable history (or --force to proceed))
   534   [255]
   534   [255]
   535 
   535 
   536 Check hg commit --amend compat
   536 Check hg commit --amend compat
   537 
   537