diff --git a/subcmds/info.py b/subcmds/info.py index d42860ae..ed196e90 100644 --- a/subcmds/info.py +++ b/subcmds/info.py @@ -59,7 +59,8 @@ class Info(PagedCommand): or 'all,-notdefault') self.heading("Manifest branch: ") - self.headtext(self.manifest.default.revisionExpr) + if self.manifest.default.revisionExpr: + self.headtext(self.manifest.default.revisionExpr) self.out.nl() self.heading("Manifest merge branch: ") self.headtext(mergeBranch)