comparison tests/test-sparse.t @ 35770:0aafeded7957

test-sparse: make the '.hg' exclusion filter Windows compatible
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 20 Jan 2018 13:57:11 -0500
parents 7a1806e0daea
children deb851914fd7
comparison
equal deleted inserted replaced
35769:f00edef84c3b 35770:0aafeded7957
288 288
289 $ hg debugsparse --reset 289 $ hg debugsparse --reset
290 $ touch dir1/notshown 290 $ touch dir1/notshown
291 $ hg commit -A dir1/notshown -m "notshown" 291 $ hg commit -A dir1/notshown -m "notshown"
292 $ hg debugsparse --include 'dir1/dir2' 292 $ hg debugsparse --include 'dir1/dir2'
293 $ $PYTHON $TESTDIR/list-tree.py . | grep -v ./.hg 293 $ $PYTHON $TESTDIR/list-tree.py . | egrep -v '\.[\/]\.hg'
294 ./ 294 ./
295 ./dir1/ 295 ./dir1/
296 ./dir1/dir2/ 296 ./dir1/dir2/
297 ./dir1/dir2/file 297 ./dir1/dir2/file
298 ./hide.orig 298 ./hide.orig
299 $ hg debugsparse --delete 'dir1/dir2' 299 $ hg debugsparse --delete 'dir1/dir2'
300 $ hg debugsparse --include 'glob:dir1/dir2' 300 $ hg debugsparse --include 'glob:dir1/dir2'
301 $ $PYTHON $TESTDIR/list-tree.py . | grep -v ./.hg 301 $ $PYTHON $TESTDIR/list-tree.py . | egrep -v '\.[\/]\.hg'
302 ./ 302 ./
303 ./dir1/ 303 ./dir1/
304 ./dir1/dir2/ 304 ./dir1/dir2/
305 ./dir1/dir2/file 305 ./dir1/dir2/file
306 ./hide.orig 306 ./hide.orig