view tests/test-remove @ 1314:d37a46859acd

Fix default clone destination The default clone wasn't working: $ hg clone hg abort: repository hg/.hg not found! This was because we were creating the destination directory from the default, then checking whether it existed to determine whether to expand the path.
author mpm@selenic.com
date Thu, 22 Sep 2005 09:47:03 -0700
parents b62d1e738fa9
children 6a104941d56a
line wrap: on
line source

#!/bin/sh

hg init a
cd a
echo a > foo
hg add foo
hg commit -m 1 -d "0 0"
rm foo
hg remove foo
hg commit -m 2 -d "0 0"

cd ..
hg clone a b