changeset 47:ca60d20eb3c8

Adding all ignore groups is more intentional. IN: -
author John Schneiderman <JohnMS@CodeGNU.com>
date Thu, 21 Aug 2014 18:33:00 -0500
parents e15f5cbaec00
children a6bce56dfaad
files src/manager.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/manager.py	Thu Aug 21 18:26:42 2014 -0500
+++ b/src/manager.py	Thu Aug 21 18:33:00 2014 -0500
@@ -309,7 +309,7 @@
 	# Write Ignore File
 	with open(ignoreFile, 'w') as hgIgnore:
 		for group,patterns in ignores.items():
-			if not 'all' in [ignoreName.lower() for ignoreName in ignoreGroup] and not group.lower() in [ignoreName.lower() for ignoreName in ignoreGroup]:
+			if not '+' in ignoreGroup and not group.lower() in [ignoreName.lower() for ignoreName in ignoreGroup]:
 				continue
 			hgIgnore.write("#\n#\tIgnore Group: %s\n#" % group)
 			# Reverse the sorting order to put the regular expressions first.