comparison hgext/largefiles/uisetup.py @ 15944:f19d5c852f9b stable

largefiles: add --normal option to hg add (issue3061)
author Na'Tosha Bard <natosha@unity3d.com>
date Fri, 02 Dec 2011 18:20:32 +0100
parents 7b7f03502b5a
children 7e30f5f2285f
comparison
equal deleted inserted replaced
15943:f9efb325ea32 15944:f19d5c852f9b
21 # files in the result are under Mercurial's control 21 # files in the result are under Mercurial's control
22 22
23 entry = extensions.wrapcommand(commands.table, 'add', 23 entry = extensions.wrapcommand(commands.table, 'add',
24 overrides.override_add) 24 overrides.override_add)
25 addopt = [('', 'large', None, _('add as largefile')), 25 addopt = [('', 'large', None, _('add as largefile')),
26 ('', 'normal', None, _('add as normal file')),
26 ('', 'lfsize', '', _('add all files above this size ' 27 ('', 'lfsize', '', _('add all files above this size '
27 '(in megabytes) as largefiles ' 28 '(in megabytes) as largefiles '
28 '(default: 10)'))] 29 '(default: 10)'))]
29 entry[1].extend(addopt) 30 entry[1].extend(addopt)
30 31