hgext/extdiff.py
changeset 14232 df2399663392
parent 14168 135e244776f0
child 14319 b33f3e35efb0
equal deleted inserted replaced
14231:8abe4db2d162 14232:df2399663392
    97         if 'l' in fctx.flags():
    97         if 'l' in fctx.flags():
    98             wopener.symlink(data, wfn)
    98             wopener.symlink(data, wfn)
    99         else:
    99         else:
   100             wopener.write(wfn, data)
   100             wopener.write(wfn, data)
   101             if 'x' in fctx.flags():
   101             if 'x' in fctx.flags():
   102                 util.set_flags(dest, False, True)
   102                 util.setflags(dest, False, True)
   103         if node is None:
   103         if node is None:
   104             fns_and_mtime.append((dest, repo.wjoin(fn),
   104             fns_and_mtime.append((dest, repo.wjoin(fn),
   105                                   os.lstat(dest).st_mtime))
   105                                   os.lstat(dest).st_mtime))
   106     return dirname, fns_and_mtime
   106     return dirname, fns_and_mtime
   107 
   107