view tests/test-diffdir @ 767:61ed30e82b27

Update tests to match new addremove chattiness.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 22 Jul 2005 19:46:02 -0800
parents 7e4843b7efd2
children 6592c4f5cd4f 445970ccf57a
line wrap: on
line source

#!/bin/sh

hg init
touch a
hg add a
hg ci -m "a" -d "0 0"

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

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