Patchwork D5854: largefiles: migrate to scmutil.backuppath()

login
register
mail settings
Submitter phabricator
Date Feb. 6, 2019, 11:59 p.m.
Message ID <9db916141162c1d4530a0f5ff01a1e3d@localhost.localdomain>
Download mbox | patch
Permalink /patch/38486/
State Not Applicable
Headers show

Comments

phabricator - Feb. 6, 2019, 11:59 p.m.
martinvonz updated this revision to Diff 13859.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5854?vs=13818&id=13859

REVISION DETAIL
  https://phab.mercurial-scm.org/D5854

AFFECTED FILES
  hgext/largefiles/lfcommands.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

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