tests/test-remove
author Matt Mackall <mpm@selenic.com>
Fri, 21 Apr 2006 15:33:51 -0500
changeset 2108 30c7564f6dfc
parent 1953 379ab45b91b7
child 2180 82385773df6c
permissions -rwxr-xr-x
Move empty local repo logic for pull into findincoming This fixes a silly attempt to pull a changegroup from an empty repo.

#!/bin/sh

hg init a
cd a
echo a > foo
hg add foo
hg commit -m 1 -d "1000000 0"
rm foo
hg remove foo
hg commit -m 2 -d "1000000 0"
hg export 0
hg export 1
hg log -p -r 0
hg log -p -r 1

cd ..
hg clone a b