changeset 6649:05a682c8907d

test-mq-qrename: test added patch renaming
author Patrick Mezard <pmezard@gmail.com>
date Fri, 06 Jun 2008 18:23:33 +0200
parents 2519976a998b
children 2c9565971abc 7f0dd352fb4d
files tests/test-mq-qrename tests/test-mq-qrename.out
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-mq-qrename	Fri Jun 06 18:23:31 2008 +0200
+++ b/tests/test-mq-qrename	Fri Jun 06 18:23:33 2008 +0200
@@ -22,4 +22,15 @@
 hg qrename bar/renamed baz
 hg qseries
 ls .hg/patches/baz
+cd ..
 
+echo % test patch being renamed before committed
+hg init b
+cd b
+hg qinit -c
+hg qnew x
+hg qrename y
+hg qcommit -m rename
+cd ..
+
+
--- a/tests/test-mq-qrename.out	Fri Jun 06 18:23:31 2008 +0200
+++ b/tests/test-mq-qrename.out	Fri Jun 06 18:23:33 2008 +0200
@@ -5,3 +5,4 @@
 renamed
 baz
 .hg/patches/baz
+% test patch being renamed before committed