tests/test-obsolete.t
branchstable
changeset 374 2c969d1b18e0
parent 356 56d4c6207ef9
child 377 1d6cc8c22cd9
equal deleted inserted replaced
373:8c92f65e0dcc 374:2c969d1b18e0
   145   $ hg init ../other-new
   145   $ hg init ../other-new
   146   $ hg phase --draft 'secret() - extinct()' # until we fix exclusion
   146   $ hg phase --draft 'secret() - extinct()' # until we fix exclusion
   147   $ hg push ../other-new
   147   $ hg push ../other-new
   148   pushing to ../other-new
   148   pushing to ../other-new
   149   searching for changes
   149   searching for changes
   150   abort: Trying to push unstable changeset: a7a6f2b5d8a5!
   150   abort: push includes an unstable changeset: a7a6f2b5d8a5!
   151   (use 'hg stabilize' to get a stable history (or --force to proceed))
   151   (use 'hg stabilize' to get a stable history (or --force to proceed))
   152   [255]
   152   [255]
   153   $ hg push -f ../other-new
   153   $ hg push -f ../other-new
   154   pushing to ../other-new
   154   pushing to ../other-new
   155   searching for changes
   155   searching for changes
   198   3
   198   3
   199   - 0d3f46688ccc
   199   - 0d3f46688ccc
   200   $ hg push ../other-new
   200   $ hg push ../other-new
   201   pushing to ../other-new
   201   pushing to ../other-new
   202   searching for changes
   202   searching for changes
   203   abort: Trying to push unstable changeset: 95de7fc6918d!
   203   abort: push includes an unstable changeset: 95de7fc6918d!
   204   (use 'hg stabilize' to get a stable history (or --force to proceed))
   204   (use 'hg stabilize' to get a stable history (or --force to proceed))
   205   [255]
   205   [255]
   206   $ hg push ../other-new -f # use f because there is unstability
   206   $ hg push ../other-new -f # use f because there is unstability
   207   pushing to ../other-new
   207   pushing to ../other-new
   208   searching for changes
   208   searching for changes
   267   $ echo '[extensions]'  > ../other-old/.hg/hgrc
   267   $ echo '[extensions]'  > ../other-old/.hg/hgrc
   268   $ echo "obsolete=!$(echo $(dirname $TESTDIR))/obsolete.py" >> ../other-old/.hg/hgrc
   268   $ echo "obsolete=!$(echo $(dirname $TESTDIR))/obsolete.py" >> ../other-old/.hg/hgrc
   269   $ hg push ../other-old
   269   $ hg push ../other-old
   270   pushing to ../other-old
   270   pushing to ../other-old
   271   searching for changes
   271   searching for changes
   272   abort: Trying to push unstable changeset: 909a0fb57e5d!
   272   abort: push includes an unstable changeset: 909a0fb57e5d!
   273   (use 'hg stabilize' to get a stable history (or --force to proceed))
   273   (use 'hg stabilize' to get a stable history (or --force to proceed))
   274   [255]
   274   [255]
   275   $ hg push -f ../other-old
   275   $ hg push -f ../other-old
   276   pushing to ../other-old
   276   pushing to ../other-old
   277   searching for changes
   277   searching for changes
   515   summary:     add obsol_d'''
   515   summary:     add obsol_d'''
   516   
   516   
   517   $ hg push ../other-new/
   517   $ hg push ../other-new/
   518   pushing to ../other-new/
   518   pushing to ../other-new/
   519   searching for changes
   519   searching for changes
   520   abort: Trying to push latecomer changeset: 6db5e282cb91!
   520   abort: push includes an latecomer changeset: 6db5e282cb91!
   521   (use 'hg stabilize' to get a stable history (or --force to proceed))
   521   (use 'hg stabilize' to get a stable history (or --force to proceed))
   522   [255]
   522   [255]
   523 
   523 
   524 Check hg commit --amend compat
   524 Check hg commit --amend compat
   525 
   525