--- a/ConfigurableFeatures.st Mon Jul 23 13:04:16 2012 +0200
+++ b/ConfigurableFeatures.st Mon Jul 23 13:37:32 2012 +0200
@@ -143,6 +143,27 @@
"Created: / 21-12-2011 / 17:07:08 / cg"
!
+hasGitSupport
+ "/ use Smalltalk-at to trick the dependency/prerequisite generator
+ ^ (Smalltalk at: #'GitSourceCodeManager' ifAbsent:nil) notNil
+
+ "
+ ConfigurableFeatures hasGitSupport
+ "
+
+ "Created: / 23-07-2012 / 13:37:09 / cg"
+!
+
+hasGitSupportEnabled
+ ^ self hasSCMSupportEnabledFor:#'GitSourceCodeManager'
+
+ "
+ self hasGitSupportEnabled
+ "
+
+ "Created: / 23-07-2012 / 13:37:17 / cg"
+!
+
hasMercurialSupport
"/ use Smalltalk-at to trick the dependency/prerequisite generator
^ (Smalltalk at: #'MercurialSourceCodeManager' ifAbsent:nil) notNil
@@ -232,9 +253,9 @@
!ConfigurableFeatures class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.8 2012-04-16 18:03:49 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.9 2012-07-23 11:37:32 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.8 2012-04-16 18:03:49 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.9 2012-07-23 11:37:32 cg Exp $'
! !