tests/test-diffdir
author Bryan O'Sullivan <bos@serpentine.com>
Wed, 20 Jul 2005 03:37:01 -0800
changeset 735 3433b228bbb3
parent 536 c15b4bc0a11c
child 749 7e4843b7efd2
permissions -rwxr-xr-x
An empty .hgignore file must cause us to ignore nothing, not everything!

#!/bin/sh

hg init
touch a
hg add a
hg ci -t "a" -u test -d "0 0"

echo 123 > b
hg add b
hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/"

hg diff -r tip | sed "s/\(\(---\|+++\).*\)\t.*/\1/"