mercurial/commands.py
changeset 3414 52617d992eed
parent 3386 55476ce8e59c
child 3415 9a6491770b04
--- a/mercurial/commands.py	Tue Oct 17 18:30:12 2006 -0500
+++ b/mercurial/commands.py	Tue Oct 17 18:30:18 2006 -0500
@@ -326,6 +326,7 @@
 
         changes = log.read(changenode)
         date = util.datestr(changes[2])
+        branch = changes[5].get("branch")
 
         hexfunc = self.ui.debugflag and hex or short
 
@@ -337,6 +338,8 @@
 
         self.ui.write(_("changeset:   %d:%s\n") % (rev, hexfunc(changenode)))
 
+        if branch:
+            self.ui.status(_("branch:      %s\n") % branch)
         for tag in self.repo.nodetags(changenode):
             self.ui.status(_("tag:         %s\n") % tag)
         for parent in parents: