Mercurial > hg-stable
changeset 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 | f00edef84c3b |
children | ebb75443969a |
files | tests/test-sparse.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-sparse.t Fri Jan 19 19:20:50 2018 -0500 +++ b/tests/test-sparse.t Sat Jan 20 13:57:11 2018 -0500 @@ -290,7 +290,7 @@ $ touch dir1/notshown $ hg commit -A dir1/notshown -m "notshown" $ hg debugsparse --include 'dir1/dir2' - $ $PYTHON $TESTDIR/list-tree.py . | grep -v ./.hg + $ $PYTHON $TESTDIR/list-tree.py . | egrep -v '\.[\/]\.hg' ./ ./dir1/ ./dir1/dir2/ @@ -298,7 +298,7 @@ ./hide.orig $ hg debugsparse --delete 'dir1/dir2' $ hg debugsparse --include 'glob:dir1/dir2' - $ $PYTHON $TESTDIR/list-tree.py . | grep -v ./.hg + $ $PYTHON $TESTDIR/list-tree.py . | egrep -v '\.[\/]\.hg' ./ ./dir1/ ./dir1/dir2/