# HG changeset patch # User Christian Ebert # Date 1193123411 -7200 # Node ID bc19ab02c5f996b435613fb97bd24bd297434fa3 # Parent 071bfbd482b49952f63e0f6e13cee0b5928e5367 Tell user that kwexpand/kwshrink do not run if given files contain changes diff -r 071bfbd482b4 -r bc19ab02c5f9 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)