Mercurial > hg
diff tests/test-obsolete.t @ 37705:82eeafd78784
tests: make custom templates that use {whyunstable} terser
These templates demonstrate that {whyunstable} is fully template-friendly, but
they don't need to produce such long lines of output.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 15 Apr 2018 18:37:22 +0800 |
parents | 76cd5816268e |
children | 31750413f8d7 |
line wrap: on
line diff
--- a/tests/test-obsolete.t Sun Apr 15 18:27:49 2018 +0800 +++ b/tests/test-obsolete.t Sun Apr 15 18:37:22 2018 +0800 @@ -1049,9 +1049,9 @@ $ hg log -r 50c51b361e60 -T '{whyunstable}\n' orphan: obsolete parent 3de5eca88c00 phase-divergent: immutable predecessor 245bde4270cd - $ hg log -r 50c51b361e60 -T '{whyunstable%"{instability}: {reason} {node}\n"}' - orphan: obsolete parent 3de5eca88c00aa039da7399a220f4a5221faa585 - phase-divergent: immutable predecessor 245bde4270cd1072a27757984f9cda8ba26f08ca + $ hg log -r 50c51b361e60 -T '{whyunstable % "{instability}: {reason} {node|shortest}\n"}' + orphan: obsolete parent 3de5 + phase-divergent: immutable predecessor 245b #if serve