Mercurial > hg
comparison hgext/largefiles/lfcommands.py @ 15173:3d27a8ff895f
largefiles: mark a string for translation
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 29 Sep 2011 17:16:42 -0500 |
parents | fb1dcd2aae2a |
children | 7c604d8c7e83 |
comparison
equal
deleted
inserted
replaced
15172:fb1dcd2aae2a | 15173:3d27a8ff895f |
---|---|
351 raise util.Abort(_('Missing largefile %s needs to be uploaded') | 351 raise util.Abort(_('Missing largefile %s needs to be uploaded') |
352 % hash) | 352 % hash) |
353 # XXX check for errors here | 353 # XXX check for errors here |
354 store.put(source, hash) | 354 store.put(source, hash) |
355 at += 1 | 355 at += 1 |
356 ui.progress('uploading largefiles', None) | 356 ui.progress(_('uploading largefiles'), None) |
357 | 357 |
358 def verifylfiles(ui, repo, all=False, contents=False): | 358 def verifylfiles(ui, repo, all=False, contents=False): |
359 '''Verify that every big file revision in the current changeset | 359 '''Verify that every big file revision in the current changeset |
360 exists in the central store. With --contents, also verify that | 360 exists in the central store. With --contents, also verify that |
361 the contents of each big file revision are correct (SHA-1 hash | 361 the contents of each big file revision are correct (SHA-1 hash |