summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2011-03-29 16:48:23 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2011-03-29 16:48:23 +0200
commit96198071f8a75ac34c49e0f8186d22df03da1ca5 (patch)
treeb56969394596f33fb74c7837768e982aa11ef68f /l10ntools
parenteabb05e6ca5ef108b0487ab052f5b6880dde17c4 (diff)
masterfix DEV300: skip .hg subdirs
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/srciter.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/srciter.cxx b/l10ntools/source/srciter.cxx
index 0c5071fca053..3434d4c39c55 100644
--- a/l10ntools/source/srciter.cxx
+++ b/l10ntools/source/srciter.cxx
@@ -70,6 +70,7 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory )
static rtl::OUString WCARD5 ( rtl::OUString::createFromAscii( "unxmac" ) );
static rtl::OUString WCARD6 ( rtl::OUString::createFromAscii( "unxubt" ) );
static rtl::OUString WCARD7 ( rtl::OUString::createFromAscii( ".svn" ) );
+ static rtl::OUString WCARD8 ( rtl::OUString::createFromAscii( ".hg" ) );
if( sDirName.indexOf( WCARD1 , 0 ) > -1 ||
@@ -78,7 +79,8 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory )
sDirName.indexOf( WCARD4 , 0 ) > -1 ||
sDirName.indexOf( WCARD5 , 0 ) > -1 ||
sDirName.indexOf( WCARD6 , 0 ) > -1 ||
- sDirName.indexOf( WCARD7 , 0 ) > -1
+ sDirName.indexOf( WCARD7 , 0 ) > -1 ||
+ sDirName.indexOf( WCARD8 , 0 ) > -1
) return;
//printf("**** %s \n", OUStringToOString( sDirName , RTL_TEXTENCODING_UTF8 , sDirName.getLength() ).getStr() );