tests/test-issue1089.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 18 May 2015 15:38:24 -0500
changeset 25183 0d0ed375fbdf
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
recover: catch any exception, not just Exception We want recover to be rock solid.

http://mercurial.selenic.com/bts/issue1089

  $ 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 ..