tests/test-issue1089.t
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 04 Jun 2015 21:49:50 -0400
changeset 25436 9724cbe2d546
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
add: replace match.bad() monkey patching with match.badmatch() The previous code didn't restore the original method, but it looks like the worst that would happen is junk added to a list that had already been processed by previous subrepo invocation(s).

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