changeset 11509:2eaaad99f2f0 stable

test-log: also test "log -p -R" case
author Martin Geisler <mg@lazybytes.net>
date Sun, 04 Jul 2010 14:14:29 +0200
parents fbab0875fd09
children 96040c70c9e1 9d905b9769af
files tests/test-log tests/test-log.out
diffstat 2 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-log	Fri Jul 02 23:49:06 2010 +0900
+++ b/tests/test-log	Sun Jul 04 14:14:29 2010 +0200
@@ -185,4 +185,9 @@
 mkdir dir
 hg log -p --cwd dir
 
+echo '% log -p -R repo'
+cd dir
+hg log -p -R .. ../a
+
+
 exit 0
--- a/tests/test-log.out	Fri Jul 02 23:49:06 2010 +0900
+++ b/tests/test-log.out	Sun Jul 04 14:14:29 2010 +0200
@@ -514,3 +514,15 @@
 @@ -0,0 +1,1 @@
 +a
 
+% log -p -R repo
+changeset:   0:24427303d56f
+user:        test
+date:        Thu Jan 01 00:00:00 1970 +0000
+summary:     commit on default
+
+diff -r 000000000000 -r 24427303d56f a
+--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
++++ b/a	Thu Jan 01 00:00:00 1970 +0000
+@@ -0,0 +1,1 @@
++a
+