tests/test-issue842
author Patrick Mezard <pmezard@gmail.com>
Sun, 14 Feb 2010 18:39:16 +0100
branchstable
changeset 10469 b26c4a89a143
parent 8452 cb93eee1fbcd
permissions -rwxr-xr-x
Fix test-push-validation under Windows

#!/bin/sh

hg init test
cd test
echo foo > a
hg ci -Ama

hg up -r0000
echo bar > a
echo % should issue warning
hg ci -Amb

hg up -r0000
echo stuffy > a
echo % should not issue warning
hg ci -q -Amc

hg up -r0000
echo crap > a
hg branch testing
echo % should not issue warning
hg ci -q -Amd