# HG changeset patch # User Pierre-Yves David # Date 1495219760 -7200 # Node ID 400dbec0849c4ae3f239adaf3b2914b4e579bc3d # Parent ad08aedf25ac846ea7bcb81d7fefd49f5bd31573 effetflag: move the flag back with the test of the creation logic Previous changeset was published by mistake. diff -r ad08aedf25ac -r 400dbec0849c hgext3rd/evolve/obshistory.py --- a/hgext3rd/evolve/obshistory.py Fri May 19 20:21:10 2017 +0200 +++ b/hgext3rd/evolve/obshistory.py Fri May 19 20:49:20 2017 +0200 @@ -23,12 +23,6 @@ exthelper, ) -# logic around storing and using effect flags -DESCCHANGED = 1 << 0 # action changed the description -METACHANGED = 1 << 1 # action change the meta (user, date, branch, etc...) -PARENTCHANGED = 1 << 2 # action change the parent -DIFFCHANGED = 1 << 3 # action change diff introduced by the changeset - eh = exthelper.exthelper() @eh.command( @@ -382,6 +376,12 @@ fm.plain("\n") +# logic around storing and using effect flags +DESCCHANGED = 1 << 0 # action changed the description +METACHANGED = 1 << 1 # action change the meta (user, date, branch, etc...) +PARENTCHANGED = 1 << 2 # action change the parent +DIFFCHANGED = 1 << 3 # action change diff introduced by the changeset + def geteffectflag(relation): """compute the effect flag by comparing the source and destination""" effects = 0