Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 13386:f78bc5ddbe4f
templater: add bookmarks to templates and default output
as bookmarks are not dispalyed as tags anymore, we add a bookmark label
to the changeset printer.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Fri, 11 Feb 2011 19:47:39 +0100 |
parents | bf763946f8b0 |
children | 14f3795a5ed7 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Fri Feb 11 19:44:17 2011 +0100 +++ b/mercurial/cmdutil.py Fri Feb 11 19:47:39 2011 +0100 @@ -806,6 +806,9 @@ if branch != 'default': self.ui.write(_("branch: %s\n") % branch, label='log.branch') + for bookmark in self.repo.nodebookmarks(changenode): + self.ui.write(_("bookmark: %s\n") % bookmark, + label='log.bookmark') for tag in self.repo.nodetags(changenode): self.ui.write(_("tag: %s\n") % tag, label='log.tag')