D5854: largefiles: migrate to scmutil.backuppath()
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Thu Feb 7 02:03:25 UTC 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe89e78a725ee: largefiles: migrate to scmutil.backuppath() (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5854?vs=13859&id=13876
REVISION DETAIL
https://phab.mercurial-scm.org/D5854
AFFECTED FILES
hgext/largefiles/lfcommands.py
CHANGE DETAILS
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
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list