Mercurial > evolve
changeset 5356:0b9fcdcdc58f
tests: update logmarkers template to use {dates} and {users}
These data structures changed in c7ca43bba6c5+7f7f40cc6c9b.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 07 Jun 2020 18:02:15 +0800 |
parents | 53953532885b |
children | e48fd82923f1 |
files | tests/test-evolve-obshistory-amend.t |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-evolve-obshistory-amend.t Sun Jun 07 17:56:03 2020 +0800 +++ b/tests/test-evolve-obshistory-amend.t Sun Jun 07 18:02:15 2020 +0800 @@ -7,7 +7,8 @@ $ cat >> $HGRCPATH << EOF > [templates] - > logmarkers = '{if(markers, join(markers % "at {date|hgdate} by {user|person} "))}' + > logdates = '{ifeq(min(dates), max(dates), "at {max(dates)|hgdate}", "between {min(dates)|hgdate} and {max(dates)|hgdate}")}' + > logmarkers = '{if(markers, join(markers % "{logdates} by {users} "))}' > EOF Test output on amended commit