Mercurial > hg
diff hgext/shelve.py @ 29879:b566c5992e07
histedit: move constraint verification to the 'action.verify' method
Action has a method dedicated to verifying its validity. So we move code
related to constrains into that method. This requires a bit more context to the
'verify' method in the same fashion we were passing the 'prev' argument.
This is an extra step before we can simplify the constraint handling code
further.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 26 Aug 2016 20:54:52 +0200 |
parents | d5883fd055c6 |
children | c5126aab9c37 819f96b82fa4 |