Skip to content

Commit 1e0e963

Browse files
Sync files with IRIS after performing a 'Revert' via the WebUI
1 parent c22e353 commit 1e0e963

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,6 +2011,15 @@ ClassMethod RunGitCommandWithInput(command As %String, inFile As %String = "", O
20112011
// despite the fact that it will disappear after the reset is performed
20122012
set diffBase = ..GetCurrentRevision()
20132013
}
2014+
} elseif (args(i) = "revert") {
2015+
// Sync files after performing a 'Revert' via the WebUI
2016+
if (args(i + 1) = "--no-commit") {
2017+
set syncIrisWithDiff = 1
2018+
set syncIrisWithDiffAfterGit = 1
2019+
set syncIrisWithDiffVerbose = 1
2020+
// When syncing diff against what is being reverted
2021+
set diffBase = args(i + 2)
2022+
}
20142023
}
20152024
}
20162025
}

0 commit comments

Comments
 (0)