tests/test-strict
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 09 Feb 2008 18:38:54 -0200
changeset 6063 b74a0c4bfb30
parent 2992 4e815ee377fd
child 8167 6c82beaaa11a
permissions -rwxr-xr-x
hghave: detect unix-style permissions By "unix-style" I mean: - user/group/other permissions - umask determines original permissions

#!/bin/sh

hg init

echo a > a
hg ci -d '0 0' -Ama

hg an a

echo "[ui]" >> $HGRCPATH
echo "strict=True" >> $HGRCPATH

hg an a
hg annotate a

echo % should succeed - up is an alias, not an abbreviation

hg up