##// END OF EJS Templates
eol: update isbinary filter to work without compat wrapper
Mads Kiilerich -
r43474:d38f9117 default
parent child Browse files
Show More
@@ -165,7 +165,7 b' def tocrlf(s, params, ui, **kwargs):'
165 165 return util.tocrlf(s)
166 166
167 167
168 def isbinary(s, params):
168 def isbinary(s, params, ui, **kwargs):
169 169 """Filter to do nothing with the file."""
170 170 return s
171 171
@@ -187,7 +187,7 b' from tip ... which evidently is wrong:'
187 187 calling hook preupdate.eol: hgext.eol.preupdate
188 188 .hgeol: remote created -> g
189 189 getting .hgeol
190 filtering .hgeol through compat-isbinary
190 filtering .hgeol through isbinary
191 191 a.txt: remote created -> g
192 192 getting a.txt
193 193 filtering a.txt through tolf
@@ -200,7 +200,7 b' from tip ... which evidently is wrong:'
200 200 $ touch .hgeol * # ensure consistent dirtyness checks ignoring dirstate
201 201 $ hg up -C -r 0 -v --debug
202 202 eol: detected change in .hgeol
203 filtering .hgeol through compat-isbinary
203 filtering .hgeol through isbinary
204 204 filtering a.txt through tolf
205 205 resolving manifests
206 206 branchmerge: False, force: True, partial: False
@@ -263,7 +263,7 b' for f in revision 0, and it thus ends up'
263 263 calling hook preupdate.eol: hgext.eol.preupdate
264 264 .hgeol: remote is newer -> g
265 265 getting .hgeol
266 filtering .hgeol through compat-isbinary
266 filtering .hgeol through isbinary
267 267 a.txt: remote is newer -> g
268 268 getting a.txt
269 269 filtering a.txt through tolf
@@ -275,7 +275,7 b' for f in revision 0, and it thus ends up'
275 275 $ touch .hgeol *
276 276 $ hg st --debug
277 277 eol: detected change in .hgeol
278 filtering .hgeol through compat-isbinary
278 filtering .hgeol through isbinary
279 279 filtering a.txt through tolf
280 280 M f
281 281 $ hg diff
@@ -291,7 +291,7 b' Workaround: Update again - this will rea'
291 291 $ touch .hgeol *
292 292 $ hg up -C -r 0 -v --debug
293 293 eol: detected change in .hgeol
294 filtering .hgeol through compat-isbinary
294 filtering .hgeol through isbinary
295 295 filtering a.txt through tolf
296 296 resolving manifests
297 297 branchmerge: False, force: True, partial: False
@@ -304,7 +304,7 b' Workaround: Update again - this will rea'
304 304 $ touch .hgeol *
305 305 $ hg st --debug
306 306 eol: detected change in .hgeol
307 filtering .hgeol through compat-isbinary
307 filtering .hgeol through isbinary
308 308 filtering a.txt through tolf
309 309
310 310 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now