Mercurial > evolve
changeset 2457:1ea3065cc570
effectflag: simplify meta data change testing
Let us just do one larger test.
G: changed hgext3rd/evolve/obshistory.py
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 19 May 2017 20:52:09 +0200 |
parents | 63be7982d593 |
children | 3c9a74763c20 |
files | hgext3rd/evolve/obshistory.py |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/obshistory.py Fri May 19 20:50:49 2017 +0200 +++ b/hgext3rd/evolve/obshistory.py Fri May 19 20:52:09 2017 +0200 @@ -399,13 +399,9 @@ effects |= DESCCHANGED # Check if known meta has changed - if changectx.user() != source.user(): - effects |= METACHANGED - - if changectx.date() != source.date(): - effects |= METACHANGED - - if changectx.branch() != source.branch(): + if (changectx.user() != source.user() + or changectx.date() != source.date() + or changectx.branch() != source.branch()): effects |= METACHANGED # Check if at least one of the parent has changes