changeset 31735 | 3e37b479ce2f |
parent 31654 | 1af4a1641bdb |
child 31740 | a40e979b9d97 |
--- a/hgext/largefiles/lfcommands.py Sat Apr 01 02:32:31 2017 +0900 +++ b/hgext/largefiles/lfcommands.py Sat Apr 01 02:32:47 2017 +0900 @@ -474,7 +474,7 @@ shutil.copyfile(wvfs.join(rellfile), wvfs.join(rellfileorig)) wvfs.unlinkpath(relstandinorig) - expecthash = lfutil.readstandin(repo, lfile) + expecthash = lfutil.readasstandin(wctx[relstandin]) if expecthash != '': if lfile not in wctx: # not switched to normal file wvfs.unlinkpath(rellfile, ignoremissing=True)