label: add a label for the node in the "wc now at" message
MOAR COLOR FOR THE COLOR GOAD!
--- 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)