--- a/hgkw/keyword.py Wed Feb 06 23:32:21 2008 +0100
+++ b/hgkw/keyword.py Thu Feb 07 01:49:17 2008 +0100
@@ -412,8 +412,12 @@
This is done for local repos only, and only if there are
files configured at all for keyword substitution.'''
- if not repo.local() or '.hg' in repo.root.split('/'):
- return
+ try:
+ if (not repo.local() or '.hg' in repo.root.split('/')
+ or repo._url.startswith('bundle:')):
+ return
+ except AttributeError:
+ pass
hgcmd, func, args, opts, cmdopts = dispatch._parse(ui, sys.argv[1:])
if hgcmd in nokwcommands.split():