Mercurial > public > mercurial-scm > hg-stable
diff tests/flagprocessorext.py @ 42749: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 | 92ac6b1697a7 |
children | bd5858c28bbe |
line wrap: on
line diff
--- a/tests/flagprocessorext.py Thu Aug 08 01:25:37 2019 +0200 +++ b/tests/flagprocessorext.py Thu Aug 08 01:59:43 2019 +0200 @@ -113,7 +113,7 @@ exchange._bundlespeccontentopts[k][b"cg.version"] = b"03" # Register flag processors for each extension - revlog.addflagprocessor( + flagutil.addflagprocessor( REVIDX_NOOP, ( noopdonothing, @@ -121,7 +121,7 @@ validatehash, ) ) - revlog.addflagprocessor( + flagutil.addflagprocessor( REVIDX_BASE64, ( b64decode, @@ -129,7 +129,7 @@ bypass, ), ) - revlog.addflagprocessor( + flagutil.addflagprocessor( REVIDX_GZIP, ( gzipdecompress,