From b607fd49f0ae47a9489fe6067d53ec4ce55a09ea Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 5 Dec 2007 19:48:02 +0000 Subject: [PATCH] Ignore mercurial files --- t/shell-syntax.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/shell-syntax.t b/t/shell-syntax.t index d32435b..988a315 100755 --- a/t/shell-syntax.t +++ b/t/shell-syntax.t @@ -34,6 +34,9 @@ sub checkFile # We don't care about directories return if ( ! -f $file ); + # Finally mercurial files are fine. + return if ( $file =~ /\.hg\// ); + # See if it is a shell script. my $isShell = 0;