hgext/largefiles/overrides.py
changeset 36205 976e1cfb2f64
parent 36002 f8ad57d24252
child 36311 b9da10f310f4
--- a/hgext/largefiles/overrides.py	Thu Apr 02 23:32:28 2015 +0900
+++ b/hgext/largefiles/overrides.py	Thu Apr 02 23:28:16 2015 +0900
@@ -1359,8 +1359,7 @@
     m.visitdir = lfvisitdirfn
 
     for f in ctx.walk(m):
-        with cmdutil.makefileobj(repo, opts.get('output'), ctx.node(),
-                                 pathname=f) as fp:
+        with cmdutil.makefileobj(ctx, opts.get('output'), pathname=f) as fp:
             lf = lfutil.splitstandin(f)
             if lf is None or origmatchfn(f):
                 # duplicating unreachable code from commands.cat