Show More
@@ -35,10 +35,10 b' def lfconvert(ui, src, dest, *pats, **op' | |||||
35 | largefiles is enabled anywhere you intend to push the new |
|
35 | largefiles is enabled anywhere you intend to push the new | |
36 | repository. |
|
36 | repository. | |
37 |
|
37 | |||
38 | Use --tonormal to convert largefiles back to normal files; after |
|
38 | Use --to-normal to convert largefiles back to normal files; after | |
39 | this, the DEST repository can be used without largefiles at all.''' |
|
39 | this, the DEST repository can be used without largefiles at all.''' | |
40 |
|
40 | |||
41 | if opts['tonormal']: |
|
41 | if opts['to_normal']: | |
42 | tolfile = False |
|
42 | tolfile = False | |
43 | else: |
|
43 | else: | |
44 | tolfile = True |
|
44 | tolfile = True | |
@@ -477,7 +477,7 b' cmdtable = {' | |||||
477 | _('minimum size (MB) for files to be converted ' |
|
477 | _('minimum size (MB) for files to be converted ' | |
478 | 'as largefiles'), |
|
478 | 'as largefiles'), | |
479 | 'SIZE'), |
|
479 | 'SIZE'), | |
480 | ('', 'tonormal', False, |
|
480 | ('', 'to-normal', False, | |
481 | _('convert from a largefiles repo to a normal repo')), |
|
481 | _('convert from a largefiles repo to a normal repo')), | |
482 | ], |
|
482 | ], | |
483 | _('hg lfconvert SOURCE DEST [FILE ...]')), |
|
483 | _('hg lfconvert SOURCE DEST [FILE ...]')), |
@@ -711,7 +711,7 b' been very problematic).' | |||||
711 | 3b71f43ff30f4b15b5cd85dd9e95ebc7e84eb5a3 |
|
711 | 3b71f43ff30f4b15b5cd85dd9e95ebc7e84eb5a3 | |
712 |
|
712 | |||
713 | Convert back to a normal (non-largefiles) repo |
|
713 | Convert back to a normal (non-largefiles) repo | |
714 | $ hg lfconvert --tonormal . ../normal-repo |
|
714 | $ hg lfconvert --to-normal . ../normal-repo | |
715 | initializing destination ../normal-repo |
|
715 | initializing destination ../normal-repo | |
716 | $ cd ../normal-repo |
|
716 | $ cd ../normal-repo | |
717 | $ cat >> .hg/hgrc <<EOF |
|
717 | $ cat >> .hg/hgrc <<EOF |
General Comments 0
You need to be logged in to leave comments.
Login now