Skip to content

Commit e8e7209

Browse files
committed
chore: remove srcver ported from client tools
1 parent b5ca7ae commit e8e7209

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

cls/SourceControl/Git/Production.cls

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22
Class SourceControl.Git.Production Extends %RegisteredObject
33
{
44

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-
135
/// Exports settings for a given Production and each Config Item from
146
/// the ProductionDefinition as separate XMLs. These are exported to
157
/// the appropriate file based on nameMethod of the source control class
@@ -530,20 +522,6 @@ ClassMethod ExecDirectNoPriv(sql, args...) As %SQL.StatementResult
530522
return rs
531523
}
532524

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-
547525
/// 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
548526
ClassMethod InstanceVersion() As %Numeric [ CodeMode = expression ]
549527
{

0 commit comments

Comments
 (0)