changeset 667 | 52b03aad673b |
parent 665 | 06ccaeb6cfc1 |
child 668 | 13a6a2c0440f |
--- a/hgkw/keyword.py Sun Nov 29 11:27:33 2009 +0000 +++ b/hgkw/keyword.py Wed Dec 23 12:04:04 2009 +0000 @@ -537,7 +537,8 @@ repo.__class__ = kwrepo extensions.wrapfunction(patch.patchfile, '__init__', kwpatchfile_init) - extensions.wrapfunction(patch, 'diff', kw_diff) + if not kwt.restrict: + extensions.wrapfunction(patch, 'diff', kw_diff) for c in 'annotate changeset rev filediff diff'.split(): extensions.wrapfunction(webcommands, c, kwweb_skip)