##// END OF EJS Templates
largefiles: define norepo in command decorator
Gregory Szorc -
r21770:15d434be default
parent child Browse files
Show More
@@ -105,7 +105,7 explicitly do so with the --large flag p
105 105 command.
106 106 '''
107 107
108 from mercurial import commands, hg, localrepo
108 from mercurial import hg, localrepo
109 109
110 110 import lfcommands
111 111 import proto
@@ -125,6 +125,4 def uisetup(ui):
125 125 hg.wirepeersetupfuncs.append(proto.wirereposetup)
126 126 uisetupmod.uisetup(ui)
127 127
128 commands.norepo += " lfconvert"
129
130 128 cmdtable = lfcommands.cmdtable
@@ -32,7 +32,8 commands.inferrepo += " lfconvert"
32 32 ('', 'to-normal', False,
33 33 _('convert from a largefiles repo to a normal repo')),
34 34 ],
35 _('hg lfconvert SOURCE DEST [FILE ...]'))
35 _('hg lfconvert SOURCE DEST [FILE ...]'),
36 norepo=True)
36 37 def lfconvert(ui, src, dest, *pats, **opts):
37 38 '''convert a normal repository to a largefiles repository
38 39
General Comments 0
You need to be logged in to leave comments. Login now