Show More
@@ -110,6 +110,9 b" coreconfigitem('hostsecurity', 'ciphers'" | |||||
110 | coreconfigitem('hostsecurity', 'disabletls10warning', |
|
110 | coreconfigitem('hostsecurity', 'disabletls10warning', | |
111 | default=False, |
|
111 | default=False, | |
112 | ) |
|
112 | ) | |
|
113 | coreconfigitem('patch', 'eol', | |||
|
114 | default='strict', | |||
|
115 | ) | |||
113 | coreconfigitem('patch', 'fuzz', |
|
116 | coreconfigitem('patch', 'fuzz', | |
114 | default=2, |
|
117 | default=2, | |
115 | ) |
|
118 | ) |
@@ -2077,7 +2077,7 b' def patchbackend(ui, backend, patchobj, ' | |||||
2077 | if files is None: |
|
2077 | if files is None: | |
2078 | files = set() |
|
2078 | files = set() | |
2079 | if eolmode is None: |
|
2079 | if eolmode is None: | |
2080 |
eolmode = ui.config('patch', 'eol' |
|
2080 | eolmode = ui.config('patch', 'eol') | |
2081 | if eolmode.lower() not in eolmodes: |
|
2081 | if eolmode.lower() not in eolmodes: | |
2082 | raise error.Abort(_('unsupported line endings type: %s') % eolmode) |
|
2082 | raise error.Abort(_('unsupported line endings type: %s') % eolmode) | |
2083 | eolmode = eolmode.lower() |
|
2083 | eolmode = eolmode.lower() |
General Comments 0
You need to be logged in to leave comments.
Login now