Mercurial > public > mercurial-scm > hg
diff mercurial/bundlerepo.py @ 47394:ac60a1366a49
revlog: move `offset_type` to `revlogutils`
This multiple module are using this so it make sense to move it at the utility
level.
Differential Revision: https://phab.mercurial-scm.org/D10792
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 30 May 2021 16:19:36 +0200 |
parents | 2b69555e4875 |
children | 53289d02037a |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Sat May 22 00:06:22 2021 +0200 +++ b/mercurial/bundlerepo.py Sun May 30 16:19:36 2021 +0200 @@ -39,6 +39,7 @@ phases, pycompat, revlog, + revlogutils, util, vfs as vfsmod, ) @@ -95,7 +96,7 @@ baserev = self.rev(deltabase) # start, size, full unc. size, base (unused), link, p1, p2, node, sidedata_offset (unused), sidedata_size (unused) e = ( - revlog.offset_type(start, flags), + revlogutils.offset_type(start, flags), size, -1, baserev,