diff tests/test-keyword @ 11044:5ab414f71e87

keyword: remove mq commands from restricted list Monkeypatching patch.diff takes care of this since 911f5be5d159. Test mq more thoroughly by loosening [keywordmaps] and comparing the output of hg cat with keyword expansion enabled and disabled.
author Christian Ebert <blacktrash@gmx.net>
date Mon, 26 Apr 2010 03:54:18 +0200
parents 75101b1e6302
children 6e9b9f6c117c
line wrap: on
line diff
--- a/tests/test-keyword	Wed Apr 28 11:10:58 2010 -0300
+++ b/tests/test-keyword	Mon Apr 26 03:54:18 2010 +0200
@@ -21,7 +21,7 @@
 
 cat <<EOF >> $HGRCPATH
 [keyword]
-* =
+** =
 b = ignore
 [hooks]
 commit=
@@ -153,6 +153,10 @@
 hg qgoto mqtest.diff
 echo % cat
 cat c
+echo % hg cat
+hg cat c
+echo % keyword should not be expanded in filelog
+hg --config 'extensions.keyword=!' cat c
 echo % qpop and move on
 hg qpop