##// END OF EJS Templates
configitems: register 'ui.clonebundleprefers' as example for 'configlist'...
marmoute -
r32989:03608e8d default
parent child Browse files
Show More
@@ -39,6 +39,9 def coreconfigitem(*args, **kwargs):
39 coreconfigitem('patch', 'fuzz',
39 coreconfigitem('patch', 'fuzz',
40 default=2,
40 default=2,
41 )
41 )
42 coreconfigitem('ui', 'clonebundleprefers',
43 default=[],
44 )
42 coreconfigitem('ui', 'quiet',
45 coreconfigitem('ui', 'quiet',
43 default=False,
46 default=False,
44 )
47 )
@@ -1980,7 +1980,7 class clonebundleentry(object):
1980 return self._cmp(other) != 0
1980 return self._cmp(other) != 0
1981
1981
1982 def sortclonebundleentries(ui, entries):
1982 def sortclonebundleentries(ui, entries):
1983 prefers = ui.configlist('ui', 'clonebundleprefers', default=[])
1983 prefers = ui.configlist('ui', 'clonebundleprefers')
1984 if not prefers:
1984 if not prefers:
1985 return list(entries)
1985 return list(entries)
1986
1986
General Comments 0
You need to be logged in to leave comments. Login now