hgkw/keyword.py
changeset 365 e99ace93ded0
parent 364 d935536a6abc
child 367 7bc6c0e12464
equal deleted inserted replaced
364:d935536a6abc 365:e99ace93ded0
   392     # 3rd argument sets expansion to False
   392     # 3rd argument sets expansion to False
   393     _kwfwrite(ui, repo, False, *pats, **opts)
   393     _kwfwrite(ui, repo, False, *pats, **opts)
   394 
   394 
   395 
   395 
   396 def reposetup(ui, repo):
   396 def reposetup(ui, repo):
   397     if not repo.local():
   397     if not repo.local() or repo.root.endswith('/.hg/patches'):
   398         return
   398         return
   399 
   399 
   400     inc, exc = [], ['.hgtags', '.hg_archival.txt']
   400     inc, exc = [], ['.hgtags', '.hg_archival.txt']
   401     for pat, opt in ui.configitems('keyword'):
   401     for pat, opt in ui.configitems('keyword'):
   402         if opt != 'ignore':
   402         if opt != 'ignore':