view tests/test-issue1089.t @ 21587:02a8612ddec2

committablectx: add subrev method to return None This allows a future patch to use object oriented style to remove an if statement in the status method.
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 20 Sep 2013 22:07:58 -0500
parents f2719b387380
children 2fc86d92c4a9
line wrap: on
line source

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