hgext/largefiles/overrides.py
changeset 36243 976e1cfb2f64
parent 36040 f8ad57d24252
child 36344 b9da10f310f4
equal deleted inserted replaced
36242:33ed8b511185 36243:976e1cfb2f64
  1357             return False
  1357             return False
  1358         return origvisitdirfn(lf)
  1358         return origvisitdirfn(lf)
  1359     m.visitdir = lfvisitdirfn
  1359     m.visitdir = lfvisitdirfn
  1360 
  1360 
  1361     for f in ctx.walk(m):
  1361     for f in ctx.walk(m):
  1362         with cmdutil.makefileobj(repo, opts.get('output'), ctx.node(),
  1362         with cmdutil.makefileobj(ctx, opts.get('output'), pathname=f) as fp:
  1363                                  pathname=f) as fp:
       
  1364             lf = lfutil.splitstandin(f)
  1363             lf = lfutil.splitstandin(f)
  1365             if lf is None or origmatchfn(f):
  1364             if lf is None or origmatchfn(f):
  1366                 # duplicating unreachable code from commands.cat
  1365                 # duplicating unreachable code from commands.cat
  1367                 data = ctx[f].data()
  1366                 data = ctx[f].data()
  1368                 if opts.get('decode'):
  1367                 if opts.get('decode'):