view tests/test-issue842 @ 8822:1027da7d2fb9

doc: fix regexp for determining the man page section Preceding a .* pattern with an other dot serves little purpose, better anchor the regexp to the start of the file name.
author Cédric Duval <cedricduval@free.fr>
date Wed, 10 Jun 2009 19:59:44 +0200
parents cb93eee1fbcd
children
line wrap: on
line source

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