tests/test-dirstatedirs
author Martin Geisler <mg@daimi.au.dk>
Tue, 24 Feb 2009 18:09:16 +0100
changeset 7801 e5627562b9f2
parent 7096 6dab29f6df37
permissions -rwxr-xr-x
setup: run hg with empty HGRCPATH for robustness. Otherwise a bad hgrc file can make the version detection fail.

#!/bin/sh

# 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
hg mv a z