Author: lcorneliussen
Date: Tue Mar  1 14:32:41 2011
New Revision: 1075830

URL: http://svn.apache.org/viewvc?rev=1075830&view=rev
Log:
Test fix: Recompile without clean did not work, because SVN-dirs where copied 
and couldn't be deleted by the code. Now SVN-files are omitted when doing the 
deep-copy.

Modified:
    
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs

Modified: 
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs?rev=1075830&r1=1075829&r2=1075830&view=diff
==============================================================================
--- 
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs
 (original)
+++ 
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/FileUtil.cs
 Tue Mar  1 14:32:41 2011
@@ -89,6 +89,11 @@ namespace NPanday.ProjectImporter.Import
             // argument validation goes here, CBA to do it now
 
             DirectoryInfo destDir = new DirectoryInfo(destination);
+
+            // do not copy subversion information
+            if (destDir.Name == ".svn" || destDir.Name == "_svn")
+                return;
+
             if (!destDir.Exists)
             {
                 destDir.Create();


Reply via email to