diff tests/test-revlog-raw.py @ 42732:6d61be152c55

flagutil: move addflagprocessor to the new module (API)
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Aug 2019 01:59:43 +0200
parents 876494fd967d
children 740450677221
line wrap: on
line diff
--- a/tests/test-revlog-raw.py	Thu Aug 08 01:25:37 2019 +0200
+++ b/tests/test-revlog-raw.py	Thu Aug 08 01:59:43 2019 +0200
@@ -16,6 +16,7 @@
 
 from mercurial.revlogutils import (
     deltas,
+    flagutil,
 )
 
 # TESTTMP is optional. This makes it convenient to run without run-tests.py
@@ -56,7 +57,7 @@
     # can be used to verify hash.
     return False
 
-revlog.addflagprocessor(revlog.REVIDX_EXTSTORED,
+flagutil.addflagprocessor(revlog.REVIDX_EXTSTORED,
                         (readprocessor, writeprocessor, rawprocessor))
 
 # Utilities about reading and appending revlog