keyword: remove "identify" and "remove" from nokwcommands stable
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 21 Feb 2008 16:22:31 -0300
branchstable
changeset 419 2f179ea3a9aa
parent 418 3d882f14f23a
child 421 439a24d34a13
keyword: remove "identify" and "remove" from nokwcommands These two commands care about the list of modified files returned by repo.status and we may need to do a full content comparison to populate that list. [ original upstream description ]
hgkw/keyword.py
tests/test-keyword
--- a/hgkw/keyword.py	Fri Feb 15 20:18:56 2008 +0100
+++ b/hgkw/keyword.py	Thu Feb 21 16:22:31 2008 -0300
@@ -90,8 +90,8 @@
 commands.optionalrepo += ' kwdemo'
 
 # hg commands that do not act on keywords
-nokwcommands = ('add addremove bundle copy export grep identify incoming init'
-                ' log outgoing push remove rename rollback tip'
+nokwcommands = ('add addremove bundle copy export grep incoming init'
+                ' log outgoing push rename rollback tip'
                 ' convert email glog')
 
 # hg commands that trigger expansion only when writing to working dir,
--- a/tests/test-keyword	Fri Feb 15 20:18:56 2008 +0100
+++ b/tests/test-keyword	Thu Feb 21 16:22:31 2008 -0300
@@ -67,6 +67,7 @@
 echo % status
 hg status
 echo % identify
+hg debugrebuildstate
 hg --quiet identify
 echo % cat
 cat a b
@@ -216,6 +217,7 @@
 echo
 
 echo % remove
+hg debugrebuildstate
 hg remove a
 hg --debug commit -m rma
 echo % status