diff contrib/import-checker.py @ 42745:ca5ca3badd3c

flagutil: create a `mercurial.revlogutils.flagutil` module The flagprocessings logic is duplicated in 2 extra places, and usually in a less robust flavor. This is a maintenance nightmare that I would like to see cleaned up. To do so I am creating a `flagutil` module to move flag processings related code and make it easily reusable by other code.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Aug 2019 01:03:01 +0200
parents 04eb3c5607af
children 268662aac075
line wrap: on
line diff
--- a/contrib/import-checker.py	Wed Aug 07 22:02:49 2019 +0200
+++ b/contrib/import-checker.py	Thu Aug 08 01:03:01 2019 +0200
@@ -31,6 +31,7 @@
     'mercurial.node',
     # for revlog to re-export constant to extensions
     'mercurial.revlogutils.constants',
+    'mercurial.revlogutils.flagutil',
     # for cffi modules to re-export pure functions
     'mercurial.pure.base85',
     'mercurial.pure.bdiff',