tests/test-remove
author mpm@selenic.com
Fri, 26 Aug 2005 16:49:23 -0700
changeset 1072 05dc7aba22eb
parent 936 b62d1e738fa9
child 1570 6a104941d56a
permissions -rwxr-xr-x
Fixes for push corner case TAH found a bug where push would push things the remote already had, raising an assertion. This turned out to be because the changeset protocol was not recording a common subset node in one case. Also discovered was that the protocol was queueing multiple copies of a node for pull. Fixed by changing fetch to a hash. Add some more debugging output.

#!/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