--- a/hgext3rd/evolve/__init__.py Wed May 17 14:49:02 2017 +0200
+++ b/hgext3rd/evolve/__init__.py Wed May 17 09:28:10 2017 +0200
@@ -1890,7 +1890,7 @@
raise error.Abort("base of divergent changeset %s not found" % ctx,
hint='this case is not yet handled')
-shorttemplate = '[{rev}] {desc|firstline}\n'
+shorttemplate = "[{label('evolve.rev', rev)}] {desc|firstline}\n"
@eh.command(
'^previous',
--- a/tests/test-prev-next.t Wed May 17 14:49:02 2017 +0200
+++ b/tests/test-prev-next.t Wed May 17 09:28:10 2017 +0200
@@ -47,6 +47,9 @@
$ hg bookmarks
mark 1:6e742c9127b3
* mark2 0:a154386e50d1
+ $ hg next --dry-run --color=debug
+ hg update 1;
+ [[evolve.rev|1]] added b
$ hg next
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
[1] added b
@@ -147,6 +150,9 @@
$ hg next --evolve
no children
[1]
+ $ hg prev --dry-run --color=debug
+ hg update 1;
+ [[evolve.rev|1]] added b
$ hg prev
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
[1] added b