mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
merge: use repo.wvfs.setflags() instead of util.setflags()
Most merge.py code goes through the vfs instead of maniulating files directly, so let's do the same here.
This commit is contained in:
parent
09d53c160b
commit
f313a0b236
@ -1288,7 +1288,7 @@ def applyupdates(repo, actions, wctx, mctx, overwrite, labels=None):
|
||||
progress(_updating, z, item=f, total=numupdates, unit=_files)
|
||||
flags, = args
|
||||
audit(f)
|
||||
util.setflags(repo.wjoin(f), 'l' in flags, 'x' in flags)
|
||||
repo.wvfs.setflags(f, 'l' in flags, 'x' in flags)
|
||||
updated += 1
|
||||
|
||||
# the ordering is important here -- ms.mergedriver will raise if the merge
|
||||
|
Loading…
Reference in New Issue
Block a user