##// END OF EJS Templates
merge/progress: marking strings for localization
timeless -
r12746:8b438cb8 default
parent child Browse files
Show More
@@ -299,7 +299,8 b' def applyupdates(repo, action, wctx, mct'
299 numupdates = len(action)
299 numupdates = len(action)
300 for i, a in enumerate(action):
300 for i, a in enumerate(action):
301 f, m = a[:2]
301 f, m = a[:2]
302 u.progress(_('updating'), i + 1, item=f, total=numupdates, unit='files')
302 u.progress(_('updating'), i + 1, item=f, total=numupdates,
303 unit=_('files'))
303 if f and f[0] == "/":
304 if f and f[0] == "/":
304 continue
305 continue
305 if m == "r": # remove
306 if m == "r": # remove
@@ -361,7 +362,7 b' def applyupdates(repo, action, wctx, mct'
361 flags = a[2]
362 flags = a[2]
362 util.set_flags(repo.wjoin(f), 'l' in flags, 'x' in flags)
363 util.set_flags(repo.wjoin(f), 'l' in flags, 'x' in flags)
363 ms.commit()
364 ms.commit()
364 u.progress(_('updating'), None, total=numupdates, unit='files')
365 u.progress(_('updating'), None, total=numupdates, unit=_('files'))
365
366
366 return updated, merged, removed, unresolved
367 return updated, merged, removed, unresolved
367
368
General Comments 0
You need to be logged in to leave comments. Login now