Mercurial > hg-stable
comparison hgext/extdiff.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 | caf7e1c5efe4 |
comparison
equal
deleted
inserted
replaced
29883:b566c5992e07 | 29884:a485ec066867 |
---|