diff: recurse into subrepositories with --subrepos/-S flag
[ original upstream message ]
--- a/hgkw/keyword.py Mon Aug 30 13:15:30 2010 +0900
+++ b/hgkw/keyword.py Fri Sep 03 12:58:51 2010 +0200
@@ -511,14 +511,14 @@
self.lines = kwt.shrinklines(self.fname, self.lines)
def kw_diff(orig, repo, node1=None, node2=None, match=None, changes=None,
- opts=None):
+ opts=None, prefix=''):
'''Monkeypatch patch.diff to avoid expansion except when
comparing against working dir.'''
if node2 is not None:
kwt.match = util.never
elif node1 is not None and node1 != repo['.'].node():
kwt.restrict = True
- return orig(repo, node1, node2, match, changes, opts)
+ return orig(repo, node1, node2, match, changes, opts, prefix)
def kwweb_skip(orig, web, req, tmpl):
'''Wraps webcommands.x turning off keyword expansion.'''