effectflag: simplify meta data change testing
Let us just do one larger test.
G: changed hgext3rd/evolve/obshistory.py
--- 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