Updated epocroot clean function to not remove .hg dir wip
authordavid.stone@nokia.com
Thu, 03 Dec 2009 14:26:46 +0000
branchwip
changeset 31 c7bbe0e983d3
parent 30 01c962c3f631
child 32 fdfc59a2ae7e
Updated epocroot clean function to not remove .hg dir
sbsv2/raptor/test/common/raptor_tests.py
--- a/sbsv2/raptor/test/common/raptor_tests.py	Wed Dec 02 00:38:31 2009 +0000
+++ b/sbsv2/raptor/test/common/raptor_tests.py	Thu Dec 03 14:26:46 2009 +0000
@@ -170,6 +170,9 @@
 									
 			# This loop handles folders
 			for name in dirs:
+				if name.find(".hg") != -1:
+					continue
+				
 				name = os.path.join(root, name).replace("\\", "/")
 				if name not in all_files and name not in folders:
 					# Remove the folder fully with no errors if full