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