Show More
@@ -273,7 +273,6 def applyupdates(repo, action, wctx, mct | |||
|
273 | 273 | action.sort(key=actionkey) |
|
274 | 274 | |
|
275 | 275 | # prescan for merges |
|
276 | u = repo.ui | |
|
277 | 276 | for a in action: |
|
278 | 277 | f, m = a[:2] |
|
279 | 278 | if m == 'm': # merge |
@@ -308,7 +307,7 def applyupdates(repo, action, wctx, mct | |||
|
308 | 307 | numupdates = len(action) |
|
309 | 308 | for i, a in enumerate(action): |
|
310 | 309 | f, m = a[:2] |
|
311 | u.progress(_('updating'), i + 1, item=f, total=numupdates, | |
|
310 | repo.ui.progress(_('updating'), i + 1, item=f, total=numupdates, | |
|
312 | 311 | unit=_('files')) |
|
313 | 312 | if f and f[0] == "/": |
|
314 | 313 | continue |
@@ -377,7 +376,7 def applyupdates(repo, action, wctx, mct | |||
|
377 | 376 | repo.wopener.audit(f) |
|
378 | 377 | util.setflags(repo.wjoin(f), 'l' in flags, 'x' in flags) |
|
379 | 378 | ms.commit() |
|
380 | u.progress(_('updating'), None, total=numupdates, unit=_('files')) | |
|
379 | repo.ui.progress(_('updating'), None, total=numupdates, unit=_('files')) | |
|
381 | 380 | |
|
382 | 381 | return updated, merged, removed, unresolved |
|
383 | 382 |
General Comments 0
You need to be logged in to leave comments.
Login now