diff --git a/hgext/largefiles/lfcommands.py b/hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py +++ b/hgext/largefiles/lfcommands.py @@ -465,11 +465,11 @@ wctx = repo[None] for lfile in lfiles: lfileorig = os.path.relpath( - scmutil.origpath(ui, repo, wvfs.join(lfile)), + scmutil.backuppath(ui, repo, lfile), start=repo.root) standin = lfutil.standin(lfile) standinorig = os.path.relpath( - scmutil.origpath(ui, repo, wvfs.join(standin)), + scmutil.backuppath(ui, repo, standin), start=repo.root) if wvfs.exists(standin): if (wvfs.exists(standinorig) and