Skip to content

Commit bda0474

Browse files
authored
Merge pull request #792 from raymond-rebbeck/lut-routinemgr-ts
Check that lut files exist before using the timestamp reported by %RoutineMgr.TS
2 parents daf612e + dd3b244 commit bda0474

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.13.0] - Unreleased
9+
10+
### Fixed
11+
- Fixed importing Lookup Tables that do not already exist (#791)
12+
813
## [2.12.1] - 2025-06-27
914

1015
### Fixed

cls/SourceControl/Git/Utils.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,8 @@ ClassMethod RoutineTSH(InternalName As %String) As %String
13081308

13091309
if tsh = "" {
13101310
#dim ts as %String = ##class(%RoutineMgr).TS(InternalName)
1311-
if ts '= "" {
1311+
// lut files that do not exist always return the current time as a timestamp, check that they exist before using it
1312+
if (ts '= "") && ((type '= "lut") || ((type = "lut") && ##class(%RoutineMgr).Exists(InternalName))) {
13121313
// prj files have milliseconds in timestamp, so we crop them
13131314
set tsh = $piece($zdatetimeh(ts, 3),".",1)
13141315
} else {

module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Document name="git-source-control.ZPM">
44
<Module>
55
<Name>git-source-control</Name>
6-
<Version>2.12.1</Version>
6+
<Version>2.13.0</Version>
77
<Description>Server-side source control extension for use of Git on InterSystems platforms</Description>
88
<Keywords>git source control studio vscode</Keywords>
99
<Packaging>module</Packaging>

0 commit comments

Comments
 (0)