comparison hgext/eol.py @ 43203:d38f9117ee15

eol: update isbinary filter to work without compat wrapper
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 14 Oct 2019 01:33:18 +0200
parents 8ff1ecfadcd1
children fd8c3f59b544
comparison
equal deleted inserted replaced
43202:8864aa96f1f6 43203:d38f9117ee15
163 ): 163 ):
164 s = s + b'\n' 164 s = s + b'\n'
165 return util.tocrlf(s) 165 return util.tocrlf(s)
166 166
167 167
168 def isbinary(s, params): 168 def isbinary(s, params, ui, **kwargs):
169 """Filter to do nothing with the file.""" 169 """Filter to do nothing with the file."""
170 return s 170 return s
171 171
172 172
173 filters = { 173 filters = {