hgext/largefiles/__init__.py
changeset 21770 15d434bee41c
parent 20858 bc56ec9e64df
child 25186 80c5b2666a96
equal deleted inserted replaced
21769:4a54d9f1b6b6 21770:15d434bee41c
   103 largefile. To add the first largefile to a repository, you must
   103 largefile. To add the first largefile to a repository, you must
   104 explicitly do so with the --large flag passed to the :hg:`add`
   104 explicitly do so with the --large flag passed to the :hg:`add`
   105 command.
   105 command.
   106 '''
   106 '''
   107 
   107 
   108 from mercurial import commands, hg, localrepo
   108 from mercurial import hg, localrepo
   109 
   109 
   110 import lfcommands
   110 import lfcommands
   111 import proto
   111 import proto
   112 import reposetup
   112 import reposetup
   113 import uisetup as uisetupmod
   113 import uisetup as uisetupmod
   123 def uisetup(ui):
   123 def uisetup(ui):
   124     localrepo.localrepository.featuresetupfuncs.add(featuresetup)
   124     localrepo.localrepository.featuresetupfuncs.add(featuresetup)
   125     hg.wirepeersetupfuncs.append(proto.wirereposetup)
   125     hg.wirepeersetupfuncs.append(proto.wirereposetup)
   126     uisetupmod.uisetup(ui)
   126     uisetupmod.uisetup(ui)
   127 
   127 
   128 commands.norepo += " lfconvert"
       
   129 
       
   130 cmdtable = lfcommands.cmdtable
   128 cmdtable = lfcommands.cmdtable