bin/autoproj-show in autoproj-1.12.6 vs bin/autoproj-show in autoproj-1.13.0.b1

- old
+ new

@@ -78,10 +78,12 @@ puts Autoproj.color("source package #{pkg_name}", :bold) puts " source definition" vcs = Autoproj.manifest.importer_definition_for(pkg_name) fragments = [] - if vcs.raw + if !vcs + fragments << ["has no VCS definition", []] + elsif vcs.raw first = true fragments << [nil, vcs_to_array(vcs)] vcs.raw.each do |pkg_set, vcs_info| title = if first "first match: in #{pkg_set}"