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
18591859 // In other cases, we'll just end up logging the invalid externalName.
18601860 if $Piece (externalName ," ." ,*) = " cls" {
18611861 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
18691874 }
18701875 } else {
18711876 write !," WARNING: unable to translate external name " ,externalName
You can’t perform that action at this time.
0 commit comments