|
2 | 2 | Class SourceControl.Git.Production Extends %RegisteredObject
|
3 | 3 | {
|
4 | 4 |
|
5 |
| -/// This Parameter should be updated when synced from Perforce |
6 |
| -Parameter SrcVer = "$Id: //custom_ccrs/_common/config/cls/Studio/SourceControl/Production.xml#3 $"; |
7 |
| - |
8 |
| -/// Revision number of this class when compiled as part of the //custom_ccrs/_common/config/... branch. |
9 |
| -/// This version will not be updated (by design) when the class is integrated to other branches. |
10 |
| -/// This allows the user to tell what version of the Studio client tools are in use. |
11 |
| -Parameter Version = 4; |
12 |
| - |
13 | 5 | /// Exports settings for a given Production and each Config Item from
|
14 | 6 | /// the ProductionDefinition as separate XMLs. These are exported to
|
15 | 7 | /// the appropriate file based on nameMethod of the source control class
|
@@ -530,20 +522,6 @@ ClassMethod ExecDirectNoPriv(sql, args...) As %SQL.StatementResult
|
530 | 522 | return rs
|
531 | 523 | }
|
532 | 524 |
|
533 |
| -/// Handles all compile-time logic for this class |
534 |
| -ClassMethod OnToolsCompile() [ CodeMode = objectgenerator, Internal ] |
535 |
| -{ |
536 |
| - For i = 1:1:%class.Parameters.Count() { |
537 |
| - If %class.Parameters.GetAt(i).Name = "SrcVer" Set valSrcVer = %class.Parameters.GetAt(i).Default |
538 |
| - If %class.Parameters.GetAt(i).Name = "Version" Set indexVersion=i |
539 |
| - } |
540 |
| - If $D(indexVersion)&&($G(valSrcVer)["//custom_ccrs/_common/config/") { |
541 |
| - Set %class.Parameters.GetAt(indexVersion).Default = $P($G(valSrcVer),"#",2)+1 |
542 |
| - Do %class.Parameters.GetAt(indexVersion).%Save() |
543 |
| - } |
544 |
| - Quit $$$OK |
545 |
| -} |
546 |
| - |
547 | 525 | /// Returns value the Major.Minor version for this instance, so it can be used in comparison code which makes sure certain features are used in appropriate versions
|
548 | 526 | ClassMethod InstanceVersion() As %Numeric [ CodeMode = expression ]
|
549 | 527 | {
|
|
0 commit comments