##// END OF EJS Templates
fileset: treat encoding and eol as the predicate calling _existing...
FUJIWARA Katsunori -
r27459:2f15253e default
parent child Browse files
Show More
@@ -510,6 +510,8 b' def _intree(funcs, tree):'
510 510 # filesets using matchctx.existing()
511 511 _existingcallers = [
512 512 'binary',
513 'encoding',
514 'eol',
513 515 'exec',
514 516 'grep',
515 517 'size',
@@ -297,16 +297,34 b' Test with a revision'
297 297 >>> open('mac', 'wb').write("mac\r")
298 298 $ hg add dos mixed mac
299 299
300 (remove a1, to examine safety of 'eol' on removed files)
301 $ rm a1
302
300 303 $ fileset 'eol(dos)'
301 304 dos
302 305 mixed
303 306 $ fileset 'eol(unix)'
307 mixed
304 308 .hgsub
305 309 .hgsubstate
306 a1
307 310 b1
308 311 b2
309 312 c1
310 mixed
311 313 $ fileset 'eol(mac)'
312 314 mac
315
316 Test safety of 'encoding' on removed files
317
318 $ fileset 'encoding("ascii")'
319 dos
320 mac
321 mixed
322 .hgsub
323 .hgsubstate
324 1k
325 2k
326 b1
327 b2
328 b2link
329 bin
330 c1
General Comments 0
You need to be logged in to leave comments. Login now