equal
deleted
inserted
replaced
535 return orig(web, req, tmpl) |
535 return orig(web, req, tmpl) |
536 |
536 |
537 repo.__class__ = kwrepo |
537 repo.__class__ = kwrepo |
538 |
538 |
539 extensions.wrapfunction(patch.patchfile, '__init__', kwpatchfile_init) |
539 extensions.wrapfunction(patch.patchfile, '__init__', kwpatchfile_init) |
540 extensions.wrapfunction(patch, 'diff', kw_diff) |
540 if not kwt.restrict: |
|
541 extensions.wrapfunction(patch, 'diff', kw_diff) |
541 for c in 'annotate changeset rev filediff diff'.split(): |
542 for c in 'annotate changeset rev filediff diff'.split(): |
542 extensions.wrapfunction(webcommands, c, kwweb_skip) |
543 extensions.wrapfunction(webcommands, c, kwweb_skip) |
543 |
544 |
544 cmdtable = { |
545 cmdtable = { |
545 'kwdemo': |
546 'kwdemo': |