tests/test-issue1089.t
author Matt Mackall <mpm@selenic.com>
Thu, 26 Jul 2012 17:04:01 -0500
branchstable
changeset 17256 707cbbf950ea
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
tags: visit new heads in forward order when rebuilding cache This improves performance of building the tag cache by 4x on a repo with ~2800 heads.

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