[PATCH] keyword: add verify to nokwcommands after refactor in e79a8f36c2a5
Christian Ebert
blacktrash at gmx.net
Thu Aug 7 01:06:31 CDT 2008
A reminder, as "hg verify" breaks with latest and keyword
enabled.
# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1217427998 -7200
# Node ID 7aee0454db22a73be635ac3c8352d2d6431d02b7
# Parent d78d0f9783b842e610a0af58e391d3326ccf1384
keyword: add verify to nokwcommands after refactor in e79a8f36c2a5
Add test as well.
Thanks to Guy Brand for spotting this.
diff --git a/hgext/keyword.py b/hgext/keyword.py
--- a/hgext/keyword.py
+++ b/hgext/keyword.py
@@ -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,
diff --git a/tests/test-keyword b/tests/test-keyword
--- a/tests/test-keyword
+++ b/tests/test-keyword
@@ -208,6 +208,8 @@
rm log
echo % status
hg status
+echo % verify
+hg verify
echo % cat
cat a b
diff --git a/tests/test-keyword.out b/tests/test-keyword.out
--- a/tests/test-keyword.out
+++ b/tests/test-keyword.out
@@ -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:
More information about the Mercurial-devel
mailing list