tests/test-issue1089.t
author Alexander Plavin <me@aplavin.ru>
Tue, 25 Jun 2013 21:02:22 +0400
changeset 19330 867b9957d895
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
templater: add strip function with chars as an extra argument This allows specifying characters to strip, like the Python strip function.

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