ConfigurableFeatures.st
changeset 14242 45d070e53b95
parent 14104 2c06d704086a
child 16627 bdf2205fd15c
child 18011 deb0c3355881
equal deleted inserted replaced
14241:a00234c7342f 14242:45d070e53b95
   141     ^ self hasSCMSupportEnabledFor:#'FileBasedSourceCodeManager'
   141     ^ self hasSCMSupportEnabledFor:#'FileBasedSourceCodeManager'
   142 
   142 
   143     "Created: / 21-12-2011 / 17:07:08 / cg"
   143     "Created: / 21-12-2011 / 17:07:08 / cg"
   144 !
   144 !
   145 
   145 
       
   146 hasGitSupport
       
   147     "/ use Smalltalk-at to trick the dependency/prerequisite generator
       
   148     ^ (Smalltalk at: #'GitSourceCodeManager' ifAbsent:nil) notNil
       
   149 
       
   150     "
       
   151      ConfigurableFeatures hasGitSupport
       
   152     "
       
   153 
       
   154     "Created: / 23-07-2012 / 13:37:09 / cg"
       
   155 !
       
   156 
       
   157 hasGitSupportEnabled
       
   158     ^ self hasSCMSupportEnabledFor:#'GitSourceCodeManager'
       
   159 
       
   160     "
       
   161      self hasGitSupportEnabled
       
   162     "
       
   163 
       
   164     "Created: / 23-07-2012 / 13:37:17 / cg"
       
   165 !
       
   166 
   146 hasMercurialSupport
   167 hasMercurialSupport
   147     "/ use Smalltalk-at to trick the dependency/prerequisite generator
   168     "/ use Smalltalk-at to trick the dependency/prerequisite generator
   148     ^ (Smalltalk at: #'MercurialSourceCodeManager' ifAbsent:nil) notNil
   169     ^ (Smalltalk at: #'MercurialSourceCodeManager' ifAbsent:nil) notNil
   149 
   170 
   150     "
   171     "
   230 ! !
   251 ! !
   231 
   252 
   232 !ConfigurableFeatures class methodsFor:'documentation'!
   253 !ConfigurableFeatures class methodsFor:'documentation'!
   233 
   254 
   234 version
   255 version
   235     ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.8 2012-04-16 18:03:49 vrany Exp $'
   256     ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.9 2012-07-23 11:37:32 cg Exp $'
   236 !
   257 !
   237 
   258 
   238 version_CVS
   259 version_CVS
   239     ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.8 2012-04-16 18:03:49 vrany Exp $'
   260     ^ '$Header: /cvs/stx/stx/libbasic/ConfigurableFeatures.st,v 1.9 2012-07-23 11:37:32 cg Exp $'
   240 ! !
   261 ! !