##// END OF EJS Templates
largefiles: specify unit for ui.progress when operating on files...
av6 -
r28463:19b4a208 default
parent child Browse files
Show More
@@ -63,7 +63,7 b' class basestore(object):'
63 63 at = 0
64 64 available = self.exists(set(hash for (_filename, hash) in files))
65 65 for filename, hash in files:
66 ui.progress(_('getting largefiles'), at, unit='lfile',
66 ui.progress(_('getting largefiles'), at, unit=_('files'),
67 67 total=len(files))
68 68 at += 1
69 69 ui.note(_('getting %s:%s\n') % (filename, hash))
@@ -346,7 +346,7 b' def uploadlfiles(ui, rsrc, rdst, files):'
346 346 ui.debug("%d largefiles need to be uploaded\n" % len(files))
347 347
348 348 for hash in files:
349 ui.progress(_('uploading largefiles'), at, unit='largefile',
349 ui.progress(_('uploading largefiles'), at, unit=_('files'),
350 350 total=len(files))
351 351 source = lfutil.findfile(rsrc, hash)
352 352 if not source:
@@ -291,7 +291,7 b' largefiles pulled on update - no server '
291 291 using http://localhost:$HGPORT2/
292 292 sending capabilities command
293 293 sending batch command
294 getting largefiles: 0/1 lfile (0.00%)
294 getting largefiles: 0/1 files (0.00%)
295 295 getting f1:02a439e5c31c526465ab1a0ca1f431f76b827b90
296 296 sending getlfile command
297 297 found 02a439e5c31c526465ab1a0ca1f431f76b827b90 in store
General Comments 0
You need to be logged in to leave comments. Login now