Merge "Prevent repo info from crashing when default element doesn't exist."

This commit is contained in:
David Pursehouse 2015-07-29 02:11:55 +00:00 committed by Gerrit Code Review
commit 57f43f4944

View File

@ -59,6 +59,7 @@ class Info(PagedCommand):
or 'all,-notdefault')
self.heading("Manifest branch: ")
if self.manifest.default.revisionExpr:
self.headtext(self.manifest.default.revisionExpr)
self.out.nl()
self.heading("Manifest merge branch: ")