tests/test-issue1089.t
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 16 Apr 2013 21:14:50 +0200
changeset 19021 26b41a902195
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
histedit: move outgoing processing to its own function Every piece of code extracted from the main command is a win. We simplify changeset determination in the process. Parent ceases being a list before becoming a node. We how have a root variable containing a node all the time.

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