Mercurial > hg
diff hgext/schemes.py @ 47230:0e9105bf54cb
revlog: unify checks for supported flag
The new code use a simple declaration to do centralised checking. This is
clearer, shorter and less error prone. This will be especially useful as we plan
to add a fourth format: changelog-v2.
Differential Revision: https://phab.mercurial-scm.org/D10621
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:30:35 +0200 |
parents | ffd3e823a7e5 |
children | 6000f5b25c9b |