tests/test-lock-badness
author Sune Foldager <cryo@cyanite.org>
Wed, 23 Sep 2009 18:56:09 +0200
changeset 9479 f3569d95c2ab
parent 3853 c0b449154a90
permissions -rwxr-xr-x
push: fix subtle bug in prepush logic A test case demonstrating the bug has been added. Contributed by Henrik Stuart and Sune Foldager.

#!/bin/sh

hg init a
echo a > a/a
hg --cwd a ci -A -m a
hg clone a b
echo b > b/b
hg --cwd b ci -A -m b
chmod 100 a/.hg/store
hg --cwd b push ../a
chmod 700 a/.hg/store