Mercurial > hg
comparison tests/test-walk.t @ 21191:a2f4ea82d6d3 stable
match: fix NameError 'pat' on overflow of regex pattern length
'pat' was renamed to 'regex' in 9d28fd795215.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 29 Apr 2014 11:02:40 +0900 |
parents | b3de50b0c7aa |
children | c63a09b6b337 |
comparison
equal
deleted
inserted
replaced
21190:2606e7f227f6 | 21191:a2f4ea82d6d3 |
---|---|
329 f mammals/skunk ../t/mammals/skunk exact | 329 f mammals/skunk ../t/mammals/skunk exact |
330 $ hg debugwalk --cwd ../t mammals/skunk | 330 $ hg debugwalk --cwd ../t mammals/skunk |
331 f mammals/skunk mammals/skunk exact | 331 f mammals/skunk mammals/skunk exact |
332 | 332 |
333 $ cd .. | 333 $ cd .. |
334 | |
335 Test split patterns on overflow | |
336 | |
337 $ cd t | |
338 $ echo fennel > overflow.list | |
339 $ python -c "for i in xrange(20000 / 100): print 'x' * 100" >> overflow.list | |
340 $ echo fenugreek >> overflow.list | |
341 $ hg debugwalk 'listfile:overflow.list' 2>&1 | grep -v '^xxx' | |
342 f fennel fennel exact | |
343 f fenugreek fenugreek exact | |
344 $ cd .. |