##// END OF EJS Templates
summary: note non-default branches with -q
Matt Mackall -
r9873:541218fb stable
parent child Browse files
Show More
@@ -2931,7 +2931,11 b' def summary(ui, repo, **opts):'
2931
2931
2932 branch = ctx.branch()
2932 branch = ctx.branch()
2933 bheads = repo.branchheads(branch)
2933 bheads = repo.branchheads(branch)
2934 ui.status(_('branch: %s\n') % branch)
2934 m = _('branch: %s\n') % branch
2935 if branch != 'default':
2936 ui.write(m)
2937 else:
2938 ui.status(m)
2935
2939
2936 st = list(repo.status(unknown=True))[:7]
2940 st = list(repo.status(unknown=True))[:7]
2937 ms = merge_.mergestate(repo)
2941 ms = merge_.mergestate(repo)
General Comments 0
You need to be logged in to leave comments. Login now