test-log: also test "log -p -R" case stable
authorMartin Geisler <mg@lazybytes.net>
Sun, 04 Jul 2010 14:14:29 +0200
branchstable
changeset 11509 2eaaad99f2f0
parent 11508 fbab0875fd09
child 11510 96040c70c9e1
child 11511 9d905b9769af
test-log: also test "log -p -R" case
tests/test-log
tests/test-log.out
--- 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
+