# HG changeset patch # User Pierre-Yves David # Date 1495098006 -7200 # Node ID 4ff849709feac8c22e494807c72ee8bef285ed0b # Parent c07f752137f4caba43ff8ff6dbbad68145bde038 label: add a label for the node in the "wc now at" message MOAR COLOR FOR THE COLOR GOAD! diff -r c07f752137f4 -r 4ff849709fea hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Thu May 18 10:56:08 2017 +0200 +++ b/hgext3rd/evolve/__init__.py Thu May 18 11:00:06 2017 +0200 @@ -2065,7 +2065,8 @@ result = _solveone(ui, repo, repo[aspchildren[0]], dryrunopt, False, lambda: None, category='unstable') if not result: - ui.status(_('working directory now at %s\n') % repo['.']) + ui.status(_('working directory now at %s\n') + % ui.label(repo['.'], 'evolve.node')) return result return 1 return result @@ -2271,7 +2272,8 @@ repo._bookmarks[bookactive] = newnode.node() repo._bookmarks.recordchange(tr) commands.update(ui, repo, newnode.rev()) - ui.status(_('working directory now at %s\n') % newnode) + ui.status(_('working directory now at %s\n') + % ui.label(newnode, 'evolve.node')) if movebookmark: bookmarksmod.activate(repo, bookactive)