code: function submoduleSelected(repo) {
  					var parentSelected = repo.Location === that.repository.Location;
  					if(!parentSelected && repo.Parents){
  						parentSelected = repo.Parents.some(function(parentrepo) {return parentrepo === that.repository.Location;});
  					}
  					var childSelected = false;
  					if (repo.Children) {
  						childSelected = repo.Children.some(function(childrepo) {return submoduleSelected(childrepo);});
  					}
  
  					return parentSelected || childSelected;
  				}
docs: $NON-NLS-0$