##// END OF EJS Templates
configitems: register 'merge.checkunknown' and 'merge.checkignored'...
Boris Feld -
r34523:bed1d2ea default
parent child Browse files
Show More
@@ -344,6 +344,12 b" coreconfigitem('http_proxy', 'passwd',"
344 coreconfigitem('http_proxy', 'user',
344 coreconfigitem('http_proxy', 'user',
345 default=None,
345 default=None,
346 )
346 )
347 coreconfigitem('merge', 'checkunknown',
348 default='abort',
349 )
350 coreconfigitem('merge', 'checkignored',
351 default='abort',
352 )
347 coreconfigitem('merge', 'followcopies',
353 coreconfigitem('merge', 'followcopies',
348 default=True,
354 default=True,
349 )
355 )
@@ -603,7 +603,7 b' class mergestate(object):'
603 self._results[f] = 0, 'g'
603 self._results[f] = 0, 'g'
604
604
605 def _getcheckunknownconfig(repo, section, name):
605 def _getcheckunknownconfig(repo, section, name):
606 config = repo.ui.config(section, name, default='abort')
606 config = repo.ui.config(section, name)
607 valid = ['abort', 'ignore', 'warn']
607 valid = ['abort', 'ignore', 'warn']
608 if config not in valid:
608 if config not in valid:
609 validstr = ', '.join(["'" + v + "'" for v in valid])
609 validstr = ', '.join(["'" + v + "'" for v in valid])
General Comments 0
You need to be logged in to leave comments. Login now