tests/test-issue1089.t
author liscju <piotr.listkiewicz@gmail.com>
Sat, 12 Mar 2016 18:36:31 +0100
changeset 28571 3f0e25e89e28
parent 26420 2fc86d92c4a9
child 35393 4441705b7111
permissions -rw-r--r--
shelve: preserve newly created branch on non-bare shelve in wctx (BC) Before this patch current branch in working context wasnt preserved after shelve, this patch makes it restore after update.

https://bz.mercurial-scm.org/1089

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