diff hgext/largefiles/lfcommands.py @ 15332:0db47b8d025f stable

largefiles: rename lfconvert --tonormal option to --to-normal
author Greg Ward <greg@gerg.ca>
date Thu, 20 Oct 2011 21:56:30 -0400
parents 41f371150ccb
children be1377d19018
line wrap: on
line diff
--- 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 ...]')),