view tests/test-strict @ 11050:5d35f7d93514

commands: refactor diff --stat and qdiff --stat `opts['unified'] = '0'` can be replaced by `diffopts.context = 0`.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 07 Apr 2010 00:45:20 +0900
parents 6c82beaaa11a
children
line wrap: on
line source

#!/bin/sh

hg init

echo a > a
hg ci -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