hgext/uncommit.py
changeset 35400 8a0cac20a1ad
parent 35244 98f97eb20597
child 35435 f01101100043
equal deleted inserted replaced
35399:dffc35a5be9f 35400:8a0cac20a1ad
    75                   if dst in files)
    75                   if dst in files)
    76     def filectxfn(repo, memctx, path, contentctx=ctx, redirect=()):
    76     def filectxfn(repo, memctx, path, contentctx=ctx, redirect=()):
    77         if path not in contentctx:
    77         if path not in contentctx:
    78             return None
    78             return None
    79         fctx = contentctx[path]
    79         fctx = contentctx[path]
    80         mctx = context.memfilectx(repo, fctx.path(), fctx.data(),
    80         mctx = context.memfilectx(repo, memctx, fctx.path(), fctx.data(),
    81                                   fctx.islink(),
    81                                   fctx.islink(),
    82                                   fctx.isexec(),
    82                                   fctx.isexec(),
    83                                   copied=copied.get(path))
    83                                   copied=copied.get(path))
    84         return mctx
    84         return mctx
    85 
    85