Add verify to nokwcommands after refactor in e79a8f36c2a5
authorChristian Ebert <blacktrash@gmx.net>
Wed, 30 Jul 2008 16:26:38 +0200
changeset 479 18f235294dda
parent 476 0c36b6c991f9
child 481 d06af25db8ca
child 482 18dc6c3588ea
Add verify to nokwcommands after refactor in e79a8f36c2a5 Add test as well. Thanks to Guy Brand for spotting this.
hgkw/keyword.py
tests/test-keyword
tests/test-keyword.out
--- a/hgkw/keyword.py	Sat Jun 28 15:49:54 2008 +0200
+++ b/hgkw/keyword.py	Wed Jul 30 16:26:38 2008 +0200
@@ -91,7 +91,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	Sat Jun 28 15:49:54 2008 +0200
+++ b/tests/test-keyword	Wed Jul 30 16:26:38 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	Sat Jun 28 15:49:54 2008 +0200
+++ b/tests/test-keyword.out	Wed Jul 30 16:26:38 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: