Mercurial > hg
changeset 21785:a730b002c5db
largefiles: define inferrepo in command decorator
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 04 May 2014 22:23:45 -0700 |
parents | 44efd5b9ce45 |
children | c85a0c3537b2 |
files | hgext/largefiles/lfcommands.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py Sun May 04 22:32:15 2014 -0700 +++ b/hgext/largefiles/lfcommands.py Sun May 04 22:23:45 2014 -0700 @@ -24,8 +24,6 @@ cmdtable = {} command = cmdutil.command(cmdtable) -commands.inferrepo += " lfconvert" - @command('lfconvert', [('s', 'size', '', _('minimum size (MB) for files to be converted as largefiles'), 'SIZE'), @@ -33,7 +31,8 @@ _('convert from a largefiles repo to a normal repo')), ], _('hg lfconvert SOURCE DEST [FILE ...]'), - norepo=True) + norepo=True, + inferrepo=True) def lfconvert(ui, src, dest, *pats, **opts): '''convert a normal repository to a largefiles repository