diff tests/test-keyword @ 5894:e181665c1c79

keyword: add very simple mq test
author Christian Ebert <blacktrash@gmx.net>
date Sat, 19 Jan 2008 03:06:01 +0100
parents 85888efbdfff
children 1038b1458d7a
line wrap: on
line diff
--- a/tests/test-keyword	Fri Jan 18 17:01:28 2008 -0800
+++ b/tests/test-keyword	Sat Jan 19 03:06:01 2008 +0100
@@ -3,6 +3,7 @@
 cat <<EOF >> $HGRCPATH
 [extensions]
 hgext.keyword =
+hgext.mq =
 [keyword]
 * =
 b = ignore
@@ -88,9 +89,19 @@
 hg -v kwexpand
 echo % compare changenodes in a c
 cat a c
-echo % rollback and remove c
-hg rollback
-rm c
+
+echo % qimport
+hg qimport -r tip -n mqtest.diff
+echo % keywords should not be expanded in patch
+cat .hg/patches/mqtest.diff
+echo % qpop
+hg qpop
+echo % qgoto - should imply qpush
+hg qgoto mqtest.diff
+echo % cat
+cat c
+echo % qpop and move on
+hg qpop
 
 echo % copy
 hg cp a c