hgkw/keyword.py
changeset 452 f83dd10a4d24
parent 451 78796cd3e7d0
child 455 10ebb9f44b99
child 463 55f535bc13bc
equal deleted inserted replaced
451:78796cd3e7d0 452:f83dd10a4d24
   511         comparing against working dir.'''
   511         comparing against working dir.'''
   512         if node2 is not None:
   512         if node2 is not None:
   513             kwt.matcher = util.never
   513             kwt.matcher = util.never
   514         elif node1 is not None and node1 != repo.changectx().node():
   514         elif node1 is not None and node1 != repo.changectx().node():
   515             kwt.restrict = True
   515             kwt.restrict = True
   516         patch_diff(repo, node1, node2, files, match, fp, changes, opts)
   516         patch_diff(repo, node1, node2, match, fp, changes, opts)
   517 
   517 
   518     def kwweb_changeset(web, req, tmpl):
   518     def kwweb_changeset(web, req, tmpl):
   519         '''Wraps webcommands.changeset turning off keyword expansion.'''
   519         '''Wraps webcommands.changeset turning off keyword expansion.'''
   520         kwt.matcher = util.never
   520         kwt.matcher = util.never
   521         return webcommands_changeset(web, req, tmpl)
   521         return webcommands_changeset(web, req, tmpl)