Skip to content

Commit b29baf0

Browse files
authored
Merge pull request #699 from intersystems/import-settings-first
Settings file imports before everything else
2 parents d7f169e + a7fa732 commit b29baf0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- Fixed business processes and rules not being added to source control automatically (#676)
1818
- Embedded Git commits settings when cloning empty repo to avert any issues
1919
- Fixed Import All options not importing the Embedded Git configuration file
20+
- That configuration file now imports before everything else (#697)
2021
- Improved performance of IDE editing and baselining of decomposed productions
2122
- Fixed Discard / Stash not working on deletes (#688)
2223
- Fixed errors deploying decomposed production changes on Windows network drives (#696)

cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ Parameter DESCRIPTION = "Performs an incremental load and compile of all changes
1010
Method OnPull() As %Status
1111
{
1212
set sc = $$$OK
13+
14+
// certain items must be imported before everything else.
15+
for i=1:1:$get(..ModifiedFiles) {
16+
set internalName = ..ModifiedFiles(i).internalName
17+
if internalName = ##class(SourceControl.Git.Settings.Document).#INTERNALNAME {
18+
set sc = $$$ADDSC(sc, ##class(SourceControl.Git.Utils).ImportItem(internalName))
19+
}
20+
}
21+
1322
set nFiles = 0
1423

1524
for i=1:1:$get(..ModifiedFiles){

0 commit comments

Comments
 (0)