tests/test-issue1089.t
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 23 Jan 2015 14:09:49 -0800
changeset 24004 8a5267cd5286
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
parsers: rewrite index_ancestors() in terms of index_commonancestorsheads() The first 80% of index_ancestors() is identical to index_commonancestorsheads(), so just call that function instead.

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