Mercurial > hg
comparison tests/test-remove @ 6357:62980dd86bf6
test-remove: fix for non-gnu find
author | Florent Guillaume <fg@nuxeo.com> |
---|---|
date | Sun, 23 Mar 2008 01:04:51 +0100 |
parents | b34b876d1f6f |
children | 7cb9af02e250 |
comparison
equal
deleted
inserted
replaced
6356:b34b876d1f6f | 6357:62980dd86bf6 |
---|---|
2 | 2 |
3 remove() { | 3 remove() { |
4 hg rm $@ | 4 hg rm $@ |
5 hg st | 5 hg st |
6 # do not use ls -R, which recurses in .hg subdirs on Mac OS X 10.5 | 6 # do not use ls -R, which recurses in .hg subdirs on Mac OS X 10.5 |
7 find . ! -regex '.*/\.hg.*' -a -type f | 7 find . -name .hg -prune -o -type f -print |
8 hg up -C | 8 hg up -C |
9 } | 9 } |
10 | 10 |
11 hg init a | 11 hg init a |
12 cd a | 12 cd a |