##// END OF EJS Templates
Report branch for hg log and friends
Matt Mackall -
r3414:52617d99 default
parent child Browse files
Show More
@@ -326,6 +326,7 b' class changeset_printer(object):'
326
326
327 changes = log.read(changenode)
327 changes = log.read(changenode)
328 date = util.datestr(changes[2])
328 date = util.datestr(changes[2])
329 branch = changes[5].get("branch")
329
330
330 hexfunc = self.ui.debugflag and hex or short
331 hexfunc = self.ui.debugflag and hex or short
331
332
@@ -337,6 +338,8 b' class changeset_printer(object):'
337
338
338 self.ui.write(_("changeset: %d:%s\n") % (rev, hexfunc(changenode)))
339 self.ui.write(_("changeset: %d:%s\n") % (rev, hexfunc(changenode)))
339
340
341 if branch:
342 self.ui.status(_("branch: %s\n") % branch)
340 for tag in self.repo.nodetags(changenode):
343 for tag in self.repo.nodetags(changenode):
341 self.ui.status(_("tag: %s\n") % tag)
344 self.ui.status(_("tag: %s\n") % tag)
342 for parent in parents:
345 for parent in parents:
General Comments 0
You need to be logged in to leave comments. Login now