comparison hgext/narrow/narrowbundle2.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
34 _DONESIGNAL = b'DONE' 34 _DONESIGNAL = b'DONE'
35 _ELIDEDCSHEADER = b'>20s20s20sl' # cset id, p1, p2, len(text) 35 _ELIDEDCSHEADER = b'>20s20s20sl' # cset id, p1, p2, len(text)
36 _ELIDEDMFHEADER = b'>20s20s20s20sl' # manifest id, p1, p2, link id, len(text) 36 _ELIDEDMFHEADER = b'>20s20s20s20sl' # manifest id, p1, p2, link id, len(text)
37 _CSHEADERSIZE = struct.calcsize(_ELIDEDCSHEADER) 37 _CSHEADERSIZE = struct.calcsize(_ELIDEDCSHEADER)
38 _MFHEADERSIZE = struct.calcsize(_ELIDEDMFHEADER) 38 _MFHEADERSIZE = struct.calcsize(_ELIDEDMFHEADER)
39
40 39
41 # Serve a changegroup for a client with a narrow clone. 40 # Serve a changegroup for a client with a narrow clone.
42 def getbundlechangegrouppart_narrow( 41 def getbundlechangegrouppart_narrow(
43 bundler, 42 bundler,
44 repo, 43 repo,