mercurial/commands.py
changeset 4204 f9bbcebcacea
parent 4175 a2335e832e16
child 4207 7e1c8a565a4f
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1447,7 +1447,7 @@ def identify(ui, repo):
     if not ui.quiet:
 
         branch = util.tolocal(repo.workingctx().branch())
-        if branch:
+        if branch != 'default':
             output.append("(%s)" % branch)
 
         # multiple tags for a single parent separated by '/'