hgext/largefiles/lfcommands.py
changeset 31618 8228bc8fed8c
parent 31613 5c1d3f1b8f44
child 31654 1af4a1641bdb
--- a/hgext/largefiles/lfcommands.py	Fri Mar 24 22:29:22 2017 +0900
+++ b/hgext/largefiles/lfcommands.py	Fri Mar 24 22:29:22 2017 +0900
@@ -220,7 +220,8 @@
                 normalfiles.add(f)
 
         if f in lfiles:
-            dstfiles.append(lfutil.standin(f))
+            fstandin = lfutil.standin(f)
+            dstfiles.append(fstandin)
             # largefile in manifest if it has not been removed/renamed
             if f in ctx.manifest():
                 fctx = ctx.filectx(f)
@@ -236,7 +237,7 @@
                 if f not in lfiletohash or lfiletohash[f] != hash:
                     rdst.wwrite(f, ctx[f].data(), ctx[f].flags())
                     executable = 'x' in ctx[f].flags()
-                    lfutil.writestandin(rdst, lfutil.standin(f), hash,
+                    lfutil.writestandin(rdst, fstandin, hash,
                         executable)
                     lfiletohash[f] = hash
         else: