##// END OF EJS Templates
merge: use util.set_flags
Matt Mackall -
r5704:5049bbf9 default
parent child Browse files
Show More
@@ -510,7 +510,7 b' def applyupdates(repo, action, wctx, mct'
510 updated += 1
510 updated += 1
511 else:
511 else:
512 merged += 1
512 merged += 1
513 util.set_exec(repo.wjoin(fd), "x" in flags)
513 util.set_flags(repo.wjoin(fd), flags)
514 if f != fd and move and util.lexists(repo.wjoin(f)):
514 if f != fd and move and util.lexists(repo.wjoin(f)):
515 repo.ui.debug(_("removing %s\n") % f)
515 repo.ui.debug(_("removing %s\n") % f)
516 os.unlink(repo.wjoin(f))
516 os.unlink(repo.wjoin(f))
@@ -539,7 +539,7 b' def applyupdates(repo, action, wctx, mct'
539 repo.ui.warn(" %s\n" % nf)
539 repo.ui.warn(" %s\n" % nf)
540 elif m == "e": # exec
540 elif m == "e": # exec
541 flags = a[2]
541 flags = a[2]
542 util.set_exec(repo.wjoin(f), flags)
542 util.set_flags(repo.wjoin(f), flags)
543
543
544 return updated, merged, removed, unresolved
544 return updated, merged, removed, unresolved
545
545
General Comments 0
You need to be logged in to leave comments. Login now