Show More
@@ -269,19 +269,23 b' def shrink(ui, repo, **opts):' | |||
|
269 | 269 | lock.release() |
|
270 | 270 | |
|
271 | 271 | if not opts.get('dry_run'): |
|
272 | ui.write(_('note: old revlog saved in:\n' | |
|
273 | ' %s\n' | |
|
274 |
|
|
|
275 | '(You can delete those files when you are satisfied that your\n' | |
|
276 | 'repository is still sane. ' | |
|
277 | 'Running \'hg verify\' is strongly recommended.)\n') | |
|
278 | % (oldindexfn, olddatafn)) | |
|
272 | ui.write( | |
|
273 | _('note: old revlog saved in:\n' | |
|
274 | ' %s\n' | |
|
275 | ' %s\n' | |
|
276 | '(You can delete those files when you are satisfied that your\n' | |
|
277 | 'repository is still sane. ' | |
|
278 | 'Running \'hg verify\' is strongly recommended.)\n') | |
|
279 | % (oldindexfn, olddatafn)) | |
|
279 | 280 | |
|
280 | 281 | cmdtable = { |
|
281 | 282 | 'shrink': (shrink, |
|
282 | [('', 'revlog', '', _('index (.i) file of the revlog to shrink')), | |
|
283 | ('n', 'dry-run', None, _('do not shrink, simulate only')), | |
|
284 | ('', 'sort', 'reversepostorder', 'name of sort algorithm to use'), | |
|
283 | [('', 'revlog', '', | |
|
284 | _('the revlog to shrink (.i)')), | |
|
285 | ('n', 'dry-run', None, | |
|
286 | _('do not shrink, simulate only')), | |
|
287 | ('', 'sort', 'reversepostorder', | |
|
288 | _('name of sort algorithm to use')), | |
|
285 | 289 | ], |
|
286 | 290 | _('hg shrink [--revlog PATH]')) |
|
287 | 291 | } |
@@ -31,15 +31,6 b'' | |||
|
31 | 31 | warning: naked except clause |
|
32 | 32 | warning: naked except clause |
|
33 | 33 | contrib/shrink-revlog.py:0: |
|
34 | > '(You can delete those files when you are satisfied that your\n' | |
|
35 | warning: line over 80 characters | |
|
36 | contrib/shrink-revlog.py:0: | |
|
37 | > ('', 'sort', 'reversepostorder', 'name of sort algorithm to use'), | |
|
38 | warning: line over 80 characters | |
|
39 | contrib/shrink-revlog.py:0: | |
|
40 | > [('', 'revlog', '', _('index (.i) file of the revlog to shrink')), | |
|
41 | warning: line over 80 characters | |
|
42 | contrib/shrink-revlog.py:0: | |
|
43 | 34 | > except: |
|
44 | 35 | warning: naked except clause |
|
45 | 36 | doc/gendoc.py:0: |
General Comments 0
You need to be logged in to leave comments.
Login now