obshistory: omit keyword arguments with default values in patch.diffui() calls
d4c9eebdd72d made that function not take "relroot" and "prefix" anymore, and
instead expect "pathfn". These two chunks of code in this patch simply generate
patches for obslog -p and they broke because they tried to provide default
values for "prefix" and "relroot" for no apparent reason (and also for
"changes"). Let's instead rely on defaults of patch.diffui().
--- a/hgext3rd/evolve/obshistory.py Fri Feb 08 10:21:09 2019 +0100
+++ b/hgext3rd/evolve/obshistory.py Mon Feb 11 21:33:02 2019 +0800
@@ -601,8 +601,7 @@
matchfn = scmutil.matchall(repo)
firstline = True
for chunk, label in patch.diffui(repo, node, succ, matchfn,
- changes=None, opts=diffopts,
- prefix='', relroot=''):
+ opts=diffopts):
if firstline:
fm.plain('\n')
firstline = False
@@ -738,8 +737,7 @@
matchfn = scmutil.matchall(repo)
firstline = True
for chunk, label in patch.diffui(repo, node, succ, matchfn,
- changes=None, opts=diffopts,
- prefix='', relroot=''):
+ opts=diffopts):
if firstline:
fm.plain('\n')
firstline = False