changeset 6867:e64f5abb8a88

keyword: add verify to nokwcommands after refactor in e79a8f36c2a5 Add test as well. Thanks to Guy Brand for spotting this.
author Christian Ebert <blacktrash@gmx.net>
date Thu, 07 Aug 2008 09:53:57 +0200
parents 0ff5d2bbd8b1
children 974f5263f546
files hgext/keyword.py tests/test-keyword tests/test-keyword.out
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/keyword.py	Thu Aug 07 09:53:27 2008 +0200
+++ b/hgext/keyword.py	Thu Aug 07 09:53:57 2008 +0200
@@ -89,7 +89,7 @@
 
 # hg commands that do not act on keywords
 nokwcommands = ('add addremove annotate bundle copy export grep incoming init'
-                ' log outgoing push rename rollback tip'
+                ' log outgoing push rename rollback tip verify'
                 ' convert email glog')
 
 # hg commands that trigger expansion only when writing to working dir,
--- a/tests/test-keyword	Thu Aug 07 09:53:27 2008 +0200
+++ b/tests/test-keyword	Thu Aug 07 09:53:57 2008 +0200
@@ -208,6 +208,8 @@
 rm log
 echo % status
 hg status
+echo % verify
+hg verify
 
 echo % cat
 cat a b
--- a/tests/test-keyword.out	Thu Aug 07 09:53:27 2008 +0200
+++ b/tests/test-keyword.out	Thu Aug 07 09:53:57 2008 +0200
@@ -281,6 +281,12 @@
 a
 overwriting a expanding keywords
 % status
+% verify
+checking changesets
+checking manifests
+crosschecking files in changesets and manifests
+checking files
+3 files, 3 changesets, 4 total revisions
 % cat
 expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $
 do not process $Id: