Skip to content

Commit 3f4317a

Browse files
authored
Merge pull request #620 from intersystems/618-deleting-non-existent-files-still-fails-on-import-all
Fix deleting files on import
2 parents bd650c4 + 5b56a43 commit 3f4317a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5454
- Fix Diff View options not applying immediately (#590)
5555
- Cleaned up parsing of command output in Git Web UI (#609)
5656
- Fix TempFolder misspecification (#611)
57+
- Fix deleting files on import all (#618)
5758

5859
## [2.6.0] - 2024-10-07
5960

cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ Method DeleteFile(item As %String) As %Status
7373
set sc = $$$OK
7474
}
7575
}
76+
// Force the catch if failing
77+
$$$ThrowOnError(sc)
7678
} catch e {
7779
set filename = ##class(SourceControl.Git.Utils).FullExternalName(item)
7880
if '##class(%File).Exists(filename) {

0 commit comments

Comments
 (0)