test-evolve-bumped: improve tests legibility
This patch introduces in test-evolve-bumped some of the test helpers that we
use in other tests to make the code more legible.
--- a/tests/test-evolve-bumped.t Mon Jun 22 15:04:54 2015 -0700
+++ b/tests/test-evolve-bumped.t Fri Jun 19 18:16:31 2015 -0700
@@ -11,6 +11,8 @@
$ cat >> .hg/hgrc <<EOF
> [extensions]
> evolve = $evolvepath
+ > [ui]
+ > logtemplate = {rev}:{node|short}@{branch}({phase}) {desc|firstline}\n
> [phases]
> publish = false
> EOF
@@ -32,12 +34,7 @@
adding file changes
added 1 changesets with 1 changes to 1 files
$ hg log -r 'draft()'
- changeset: 1:4d1169d82e47
- tag: tip
- user: alice
- date: Thu Jan 01 00:00:00 1970 +0000
- summary: modify a
-
+ 1:4d1169d82e47@default(draft) modify a
$ cd ../bob
$ hg pull ../private
@@ -49,12 +46,7 @@
added 1 changesets with 1 changes to 1 files
(run 'hg update' to get a working copy)
$ hg log -r 'draft()'
- changeset: 1:4d1169d82e47
- tag: tip
- user: alice
- date: Thu Jan 01 00:00:00 1970 +0000
- summary: modify a
-
+ 1:4d1169d82e47@default(draft) modify a
$ hg push ../public
pushing to ../public
searching for changes