You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: csp/sync.csp
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -117,12 +117,18 @@
117
117
<h1 class="text-center">Sync Repository</h1>
118
118
<div class="row">
119
119
<div class="offset-sm-2 col-sm-8">
120
-
<server>
121
-
if ##class(SourceControl.Git.Utils).InDefaultBranchBasicMode() {
120
+
<server>
121
+
set defaultBasic = ##class(SourceControl.Git.Utils).InDefaultBranchBasicMode()
122
+
if defaultBasic || ##class(SourceControl.Git.Change).GetOtherDeveloperChanges().%Size() > 0 {
123
+
if defaultBasic {
124
+
set message = "Please change branches to make sure your changes are committed."
125
+
} else {
126
+
set message = "Other users have work in progress in this namespace. They must commit their work before you can sync, or you can commit their work after review in the Git WebUI before trying to sync again."
0 commit comments