##// END OF EJS Templates
large-files: larger "changing_parents" context in mergeupdate override...
marmoute -
r50998:5a0c1d70 default
parent child Browse files
Show More
@@ -1769,7 +1769,7 b' def mergeupdate(orig, repo, node, branch'
1769 matcher = kwargs.get('matcher', None)
1769 matcher = kwargs.get('matcher', None)
1770 # note if this is a partial update
1770 # note if this is a partial update
1771 partial = matcher and not matcher.always()
1771 partial = matcher and not matcher.always()
1772 with repo.wlock():
1772 with repo.wlock(), repo.dirstate.changing_parents(repo):
1773 # branch | | |
1773 # branch | | |
1774 # merge | force | partial | action
1774 # merge | force | partial | action
1775 # -------+-------+---------+--------------
1775 # -------+-------+---------+--------------
@@ -1837,8 +1837,6 b' def mergeupdate(orig, repo, node, branch'
1837 raise error.ProgrammingError(
1837 raise error.ProgrammingError(
1838 b'largefiles is not compatible with in-memory merge'
1838 b'largefiles is not compatible with in-memory merge'
1839 )
1839 )
1840 with repo.dirstate.changing_parents(repo):
1841 lfdirstate = lfutil.openlfdirstate(repo.ui, repo)
1842 result = orig(repo, node, branchmerge, force, *args, **kwargs)
1840 result = orig(repo, node, branchmerge, force, *args, **kwargs)
1843
1841
1844 newstandins = lfutil.getstandinsstate(repo)
1842 newstandins = lfutil.getstandinsstate(repo)
General Comments 0
You need to be logged in to leave comments. Login now