Show More
@@ -643,11 +643,10 b' def reposetup(ui, repo):' | |||||
643 | # shrink keywords read from working dir |
|
643 | # shrink keywords read from working dir | |
644 | self.lines = kwt.shrinklines(self.fname, self.lines) |
|
644 | self.lines = kwt.shrinklines(self.fname, self.lines) | |
645 |
|
645 | |||
646 | def kwdiff(orig, repo, node1=None, node2=None, match=None, changes=None, |
|
646 | def kwdiff(orig, *args, **kwargs): | |
647 | opts=None, prefix=''): |
|
|||
648 | '''Monkeypatch patch.diff to avoid expansion.''' |
|
647 | '''Monkeypatch patch.diff to avoid expansion.''' | |
649 | kwt.restrict = True |
|
648 | kwt.restrict = True | |
650 | return orig(repo, node1, node2, match, changes, opts, prefix) |
|
649 | return orig(*args, **kwargs) | |
651 |
|
650 | |||
652 | def kwweb_skip(orig, web, req, tmpl): |
|
651 | def kwweb_skip(orig, web, req, tmpl): | |
653 | '''Wraps webcommands.x turning off keyword expansion.''' |
|
652 | '''Wraps webcommands.x turning off keyword expansion.''' |
General Comments 0
You need to be logged in to leave comments.
Login now