##// END OF EJS Templates
sparse: variable to track if sparse is enabled...
Gregory Szorc -
r33299:41448fc5 default
parent child Browse files
Show More
@@ -110,6 +110,8 b' def uisetup(ui):'
110 _setupcommit(ui)
110 _setupcommit(ui)
111
111
112 def extsetup(ui):
112 def extsetup(ui):
113 sparse.enabled = True
114
113 _setupclone(ui)
115 _setupclone(ui)
114 _setuplog(ui)
116 _setuplog(ui)
115 _setupadd(ui)
117 _setupadd(ui)
@@ -12,6 +12,11 b' from . import ('
12 error,
12 error,
13 )
13 )
14
14
15 # Whether sparse features are enabled. This variable is intended to be
16 # temporary to facilitate porting sparse to core. It should eventually be
17 # a per-repo option, possibly a repo requirement.
18 enabled = False
19
15 def parseconfig(ui, raw):
20 def parseconfig(ui, raw):
16 """Parse sparse config file content.
21 """Parse sparse config file content.
17
22
General Comments 0
You need to be logged in to leave comments. Login now