##// END OF EJS Templates
merge: consistently use repo.wopener.audit instead of creating a new auditor
Mads Kiilerich -
r18328:2fee5119 default
parent child Browse files
Show More
@@ -7,7 +7,7 b''
7 7
8 8 from node import nullid, nullrev, hex, bin
9 9 from i18n import _
10 import error, scmutil, util, filemerge, copies, subrepo
10 import error, util, filemerge, copies, subrepo
11 11 import errno, os, shutil
12 12
13 13 class mergestate(object):
@@ -360,7 +360,7 b' def applyupdates(repo, action, wctx, mct'
360 360 if f != fd and move:
361 361 moves.append(f)
362 362
363 audit = scmutil.pathauditor(repo.root)
363 audit = repo.wopener.audit
364 364
365 365 # remove renamed files after safely stored
366 366 for f in moves:
@@ -393,7 +393,7 b' def applyupdates(repo, action, wctx, mct'
393 393 overwrite)
394 394 continue
395 395 f2, fd, flags, move = a[2:]
396 repo.wopener.audit(fd)
396 audit(fd)
397 397 r = ms.resolve(fd, wctx, mctx)
398 398 if r is not None and r > 0:
399 399 unresolved += 1
@@ -443,7 +443,7 b' def applyupdates(repo, action, wctx, mct'
443 443 repo.ui.warn(" %s\n" % nf)
444 444 elif m == "e": # exec
445 445 flags = a[2]
446 repo.wopener.audit(f)
446 audit(f)
447 447 util.setflags(repo.wjoin(f), 'l' in flags, 'x' in flags)
448 448 ms.commit()
449 449 repo.ui.progress(_('updating'), None, total=numupdates, unit=_('files'))
General Comments 0
You need to be logged in to leave comments. Login now