# HG changeset patch # User Greg Ward # Date 1319162190 14400 # Node ID 0db47b8d025f5af977c62f13938138b046166731 # Parent bc4d8804855c1ba9f2b438b5954a2689a6e0348c largefiles: rename lfconvert --tonormal option to --to-normal diff -r bc4d8804855c -r 0db47b8d025f hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Thu Oct 20 22:01:05 2011 -0400 +++ b/hgext/largefiles/lfcommands.py Thu Oct 20 21:56:30 2011 -0400 @@ -35,10 +35,10 @@ largefiles is enabled anywhere you intend to push the new repository. - Use --tonormal to convert largefiles back to normal files; after + Use --to-normal to convert largefiles back to normal files; after this, the DEST repository can be used without largefiles at all.''' - if opts['tonormal']: + if opts['to_normal']: tolfile = False else: tolfile = True @@ -477,7 +477,7 @@ _('minimum size (MB) for files to be converted ' 'as largefiles'), 'SIZE'), - ('', 'tonormal', False, + ('', 'to-normal', False, _('convert from a largefiles repo to a normal repo')), ], _('hg lfconvert SOURCE DEST [FILE ...]')), diff -r bc4d8804855c -r 0db47b8d025f tests/test-largefiles.t --- a/tests/test-largefiles.t Thu Oct 20 22:01:05 2011 -0400 +++ b/tests/test-largefiles.t Thu Oct 20 21:56:30 2011 -0400 @@ -711,7 +711,7 @@ 3b71f43ff30f4b15b5cd85dd9e95ebc7e84eb5a3 Convert back to a normal (non-largefiles) repo - $ hg lfconvert --tonormal . ../normal-repo + $ hg lfconvert --to-normal . ../normal-repo initializing destination ../normal-repo $ cd ../normal-repo $ cat >> .hg/hgrc <