Show More
@@ -269,7 +269,8 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' | |
|
272 | ui.write( | |
|
273 | _('note: old revlog saved in:\n' | |
|
273 | 274 |
|
|
274 | 275 |
|
|
275 | 276 |
|
@@ -279,9 +280,12 b' def shrink(ui, repo, **opts):' | |||
|
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