File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -1859,13 +1859,18 @@ ClassMethod SyncIrisWithRepoThroughCommand(ByRef outStream) As %Status
1859
1859
// In other cases, we'll just end up logging the invalid externalName.
1860
1860
if $Piece (externalName ," ." ,*) = " cls" {
1861
1861
set possibleClasses = ..ExpandClasses (externalName )
1862
- set pointer = 0
1863
- while $ListNext (possibleClasses ,pointer ,class ) {
1864
- set modification = ##class (SourceControl.Git.Modification ).%New ()
1865
- set modification .changeType = " C"
1866
- set modification .internalName = class _" .CLS"
1867
- set modification .externalName = ..ExternalName (modification .internalName )
1868
- set files ($i (files )) = modification
1862
+ if $ListLength (possibleClasses ) '= 0 {
1863
+ set pointer = 0
1864
+ while $ListNext (possibleClasses ,pointer ,class ) {
1865
+ set modification = ##class (SourceControl.Git.Modification ).%New ()
1866
+ set modification .changeType = " C"
1867
+ set modification .internalName = class _" .CLS"
1868
+ set modification .externalName = ..ExternalName (modification .internalName )
1869
+ set files ($i (files )) = modification
1870
+ }
1871
+ } else {
1872
+ write !," WARNING: unable to translate external name " ,externalName
1873
+ continue
1869
1874
}
1870
1875
} else {
1871
1876
write !," WARNING: unable to translate external name " ,externalName
You can’t perform that action at this time.
0 commit comments