tests/test-issue1089.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Thu, 24 Sep 2015 00:38:34 -0700
changeset 26335 6c93834d7d66
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
histedit: remove a mutable default argument Mutable default arguments are know to the state of California to cause bugs.

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