tests/test-diffdir
changeset 1723 fde8fb2cbede
parent 981 4f81068ed8cd
child 1933 7544700fd931
--- a/tests/test-diffdir	Wed Feb 15 04:37:47 2006 +0100
+++ b/tests/test-diffdir	Wed Feb 15 14:22:16 2006 +0100
@@ -12,3 +12,7 @@
 
 hg diff -r tip | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
                      -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
+
+echo foo > a
+hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
+              -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"