D683: largefiles: force an on-disk merge
phillco (Phil Cohen)
phabricator at mercurial-scm.org
Fri Sep 22 18:32:32 UTC 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG575097b4dce0: largefiles: force an on-disk merge (authored by phillco, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D683?vs=1727&id=2043
REVISION DETAIL
https://phab.mercurial-scm.org/D683
AFFECTED FILES
hgext/largefiles/overrides.py
CHANGE DETAILS
diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -1432,7 +1432,10 @@
lfdirstate.write()
oldstandins = lfutil.getstandinsstate(repo)
-
+ # Make sure the merge runs on disk, not in-memory. largefiles is not a
+ # good candidate for in-memory merge (large files, custom dirstate,
+ # matcher usage).
+ kwargs['wc'] = repo[None]
result = orig(repo, node, branchmerge, force, *args, **kwargs)
newstandins = lfutil.getstandinsstate(repo)
To: phillco, #hg-reviewers, durham, martinvonz
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list