hgkw/keyword.py
branch0.9.2compat
changeset 412 79a44b1c202b
parent 411 b1a7f5eddeba
child 414 13043607c6ae
equal deleted inserted replaced
411:b1a7f5eddeba 412:79a44b1c202b
   613     keyword substitutions.
   613     keyword substitutions.
   614     This is done for local repos only, and only if there are
   614     This is done for local repos only, and only if there are
   615     files configured at all for keyword substitution.'''
   615     files configured at all for keyword substitution.'''
   616 
   616 
   617     try:
   617     try:
   618         if (not repo.local() or kwx['hgcmd'] in nokwcommands.split() 
   618         if (not repo.local() or kwx['hgcmd'] in nokwcommands.split()
   619             or '.hg' in repo.root.split(os.sep)
   619             or '.hg' in repo.root.split(os.sep)
   620             or repo._url.startswith('bundle:')):
   620             or repo._url.startswith('bundle:')):
   621             return
   621             return
   622     except AttributeError:
   622     except AttributeError:
   623         pass
   623         pass