From 5c5a0f3022ac0501fb5afce31a13198b098a2248 Mon Sep 17 00:00:00 2001 From: Raymond Rebbeck Date: Fri, 27 Jun 2025 23:28:31 +0930 Subject: [PATCH 1/2] Do not return the current time as a timestamp when the settings file has never been imported Returning the current time can prevent import of the settings file as it can prevent it from being considered outdated. --- cls/SourceControl/Git/Settings/Document.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cls/SourceControl/Git/Settings/Document.cls b/cls/SourceControl/Git/Settings/Document.cls index 896be064..c6de0fa3 100644 --- a/cls/SourceControl/Git/Settings/Document.cls +++ b/cls/SourceControl/Git/Settings/Document.cls @@ -102,7 +102,7 @@ Method UpdateHash(stream) /// or "" if the routine does not exist. ClassMethod TimeStamp(name As %String) As %TimeStamp { - return $get(@##class(SourceControl.Git.Utils).#Storage@("settings","TS"), $zdatetime($h,3)) + return $get(@##class(SourceControl.Git.Utils).#Storage@("settings","TS"), "") } } From a14beb2654b18186473bce19deb6dda46e99ed2a Mon Sep 17 00:00:00 2001 From: Raymond Rebbeck Date: Fri, 27 Jun 2025 23:31:41 +0930 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67c36176..9c710fe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed importing Lookup Tables that do not already exist (#791) +- Fix initial import of settings file that has yet to be imported (#794) ## [2.12.1] - 2025-06-27