changeset 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
files tests/test-remove
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-remove	Sat Mar 22 21:13:22 2008 +0100
+++ b/tests/test-remove	Sun Mar 23 01:04:51 2008 +0100
@@ -4,7 +4,7 @@
     hg rm $@
     hg st
     # do not use ls -R, which recurses in .hg subdirs on Mac OS X 10.5
-    find . ! -regex '.*/\.hg.*' -a -type f
+    find . -name .hg -prune -o -type f -print
     hg up -C
 }