##// 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 39 coreconfigitem('patch', 'fuzz',
40 40 default=2,
41 41 )
42 coreconfigitem('ui', 'clonebundleprefers',
43 default=[],
44 )
42 45 coreconfigitem('ui', 'quiet',
43 46 default=False,
44 47 )
@@ -1980,7 +1980,7 class clonebundleentry(object):
1980 1980 return self._cmp(other) != 0
1981 1981
1982 1982 def sortclonebundleentries(ui, entries):
1983 prefers = ui.configlist('ui', 'clonebundleprefers', default=[])
1983 prefers = ui.configlist('ui', 'clonebundleprefers')
1984 1984 if not prefers:
1985 1985 return list(entries)
1986 1986
General Comments 0
You need to be logged in to leave comments. Login now