Mercurial > hg-stable
diff mercurial/hg.py @ 40438:e5f54c4ec075 stable
copystore: provide unit to ui.makeprogress()
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 14 Nov 2018 15:06:21 +0800 |
parents | 7e3b6c4f01a2 |
children | 437520219e0c |
line wrap: on
line diff
--- a/mercurial/hg.py Wed Nov 14 15:07:02 2018 +0800 +++ b/mercurial/hg.py Wed Nov 14 15:06:21 2018 +0800 @@ -365,7 +365,7 @@ try: hardlink = None topic = _('linking') if hardlink else _('copying') - with ui.makeprogress(topic) as progress: + with ui.makeprogress(topic, unit=_('files')) as progress: num = 0 srcpublishing = srcrepo.publishing() srcvfs = vfsmod.vfs(srcrepo.sharedpath)