tests/test-issue1089.t
author Laurent Charignon <lcharignon@fb.com>
Tue, 26 May 2015 12:09:04 -0700
changeset 25297 3966e39fea98
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
changelog: fix bug in heads computation This patch refactors the native computation of heads. It fixes a bug where filtered heads in the pending index could be returned by the native code despite their filtering.

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