Mercurial > hg-stable
diff hgext/color.py @ 29884:a485ec066867
histedt: use inheritance to override the constraints in 'base'
All actions but one actually have the same constraints when it comes to validate
the 'action.node' value. So we actually just add this code to a method that can
be overwritten in the one action where it matters.
The now unused 'contraints' related enum and class attribute will be cleaned up
in the next changeset.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 26 Aug 2016 21:00:33 +0200 |
parents | d5883fd055c6 |
children | 31a6d5e14508 |