Tell user that kwexpand/kwshrink do not run if given files contain changes
authorChristian Ebert <blacktrash@gmx.net>
Tue, 23 Oct 2007 09:10:11 +0200
changeset 284 bc19ab02c5f9
parent 283 071bfbd482b4
child 285 0aa02d36b3b1
Tell user that kwexpand/kwshrink do not run if given files contain changes
hgkw/keyword.py
--- a/hgkw/keyword.py	Tue Oct 23 08:58:19 2007 +0200
+++ b/hgkw/keyword.py	Tue Oct 23 09:10:11 2007 +0200
@@ -344,6 +344,8 @@
 
     Run before changing/disabling active keywords
     or if you experience problems with "hg import" or "hg merge".
+
+    kwshrink refuses to run if given files contain local changes.
     '''
     # 3rd argument sets expansion to False
     _kwfwrite(ui, repo, False, *pats, **opts)
@@ -352,6 +354,8 @@
     '''expand keywords in working directory
 
     Run after (re)enabling keyword expansion.
+
+    kwexpand refuses to run if given files contain local changes.
     '''
     # 3rd argument sets expansion to True
     _kwfwrite(ui, repo, True, *pats, **opts)