tests/test-dirstate.t
author Adrian Buehlmann <adrian@cadifra.com>
Sun, 15 Aug 2010 18:24:49 +0200
changeset 11887 76818b28ce98
parent 7096 tests/test-dirstatedirs@6dab29f6df37
child 11888 2bd699886ffc
permissions -rw-r--r--
tests: unify test-dirstatedirs

Test dirstate._dirs refcounting:

  $ hg init t
  $ cd t
  $ mkdir -p a/b/c/d
  $ touch a/b/c/d/x
  $ touch a/b/c/d/y
  $ touch a/b/c/d/z
  $ hg ci -Am m
  adding a/b/c/d/x
  adding a/b/c/d/y
  adding a/b/c/d/z
  $ hg mv a z
  moving a/b/c/d/x to z/b/c/d/x
  moving a/b/c/d/y to z/b/c/d/y
  moving a/b/c/d/z to z/b/c/d/z