diff tests/test-log @ 3837:7df171ea50cd

Fix log regression where log -p file showed diffs for other files
author Matt Mackall <mpm@selenic.com>
date Fri, 08 Dec 2006 20:44:58 -0600
parents 7db88b094b14
children 4574a8cb080f
line wrap: on
line diff
--- a/tests/test-log
+++ b/tests/test-log
@@ -14,6 +14,8 @@ hg mv b dir
 hg ci -mc -d '3 0'
 
 hg mv a b
+echo a > d
+hg add d
 hg ci -md -d '4 0'
 
 hg mv dir/b e
@@ -39,6 +41,9 @@ echo foo > foo
 hg ci -Ame2 -d '6 0'
 hg log -vC --template '{rev} {file_copies%filecopy}\n' -r 5
 
+echo '% log -p d'
+hg log -pv d
+
 # log --follow tests
 hg init ../follow
 cd ../follow