diff tests/test-record @ 5128:c9126c24e098

record: work properly if invoked in a subdirectory
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 06 Aug 2007 12:53:17 -0700
parents b2607267236d
children 67afecb8d6cc
line wrap: on
line diff
--- a/tests/test-record	Mon Aug 06 20:31:15 2007 +0200
+++ b/tests/test-record	Mon Aug 06 12:53:17 2007 -0700
@@ -202,3 +202,15 @@
 y
 EOF
 echo; hg tip -p
+
+mkdir subdir
+cd subdir
+echo a > a
+hg ci -d '16 0' -Amsubdir
+
+echo a >> a
+hg record -d '16 0' -m subdir-change a <<EOF
+y
+y
+EOF
+echo; hg tip -p