summaryrefslogtreecommitdiffstats
path: root/subcmds/branches.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/branches.py')
-rw-r--r--subcmds/branches.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/subcmds/branches.py b/subcmds/branches.py
index d5a0812f..57d8c88a 100644
--- a/subcmds/branches.py
+++ b/subcmds/branches.py
@@ -96,6 +96,10 @@ Summarizes the currently available topic branches.
96 n.append(name) 96 n.append(name)
97 names = n 97 names = n
98 98
99 if not names:
100 print >>sys.stderr, ' (no branches)'
101 return
102
99 width = 25 103 width = 25
100 for name in names: 104 for name in names:
101 if width < len(name): 105 if width < len(name):