diff -r 64cd77f6f7f1 -r 1b6610abf538 hgkw/keyword.py --- a/hgkw/keyword.py Thu Feb 14 16:11:54 2008 +0100 +++ b/hgkw/keyword.py Thu Feb 14 18:50:00 2008 +0100 @@ -105,7 +105,7 @@ # make keyword tools accessible kwx = { 'templater': None, 'hgcmd': None } - + # store originals of monkeypatches _patchfile_init = patch.patchfile.__init__ _patch_diff = patch.diff @@ -458,7 +458,7 @@ files configured at all for keyword substitution.''' try: - if (not repo.local() or kwx['hgcmd'] in nokwcommands.split() + if (not repo.local() or kwx['hgcmd'] in nokwcommands.split() or '.hg' in util.splitpath(repo.root) or repo._url.startswith('bundle:')): return