tests/test-issue1089.t
author Jun Wu <quark@fb.com>
Tue, 09 Aug 2016 16:45:28 +0100
changeset 29761 39149b6036e6
parent 26420 2fc86d92c4a9
child 35393 4441705b7111
permissions -rw-r--r--
dispatch: split global error handling out so it can be reused We may want a similar error handling at worker.py. This patch extracts the error handling logic to "callcatch" so it can be reused.

https://bz.mercurial-scm.org/1089

  $ hg init
  $ mkdir a
  $ echo a > a/b
  $ hg ci -Am m
  adding a/b

  $ hg rm a
  removing a/b (glob)
  $ hg ci -m m a

  $ mkdir a b
  $ echo a > a/b
  $ hg ci -Am m
  adding a/b

  $ hg rm a
  removing a/b (glob)
  $ cd b

Relative delete:

  $ hg ci -m m ../a

  $ cd ..