mercurial/changegroup.py
changeset 36464 3f0af89e008d
parent 35754 fb0be099063f
child 36465 94709406f10d
equal deleted inserted replaced
36463:1bd132a021dd 36464:3f0af89e008d
    29 )
    29 )
    30 
    30 
    31 _CHANGEGROUPV1_DELTA_HEADER = "20s20s20s20s"
    31 _CHANGEGROUPV1_DELTA_HEADER = "20s20s20s20s"
    32 _CHANGEGROUPV2_DELTA_HEADER = "20s20s20s20s20s"
    32 _CHANGEGROUPV2_DELTA_HEADER = "20s20s20s20s20s"
    33 _CHANGEGROUPV3_DELTA_HEADER = ">20s20s20s20s20sH"
    33 _CHANGEGROUPV3_DELTA_HEADER = ">20s20s20s20s20sH"
       
    34 
       
    35 # When narrowing is finalized and no longer subject to format changes,
       
    36 # we should move this to just "narrow" or similar.
       
    37 NARROW_REQUIREMENT = 'narrowhg-experimental'
    34 
    38 
    35 readexactly = util.readexactly
    39 readexactly = util.readexactly
    36 
    40 
    37 def getchunk(stream):
    41 def getchunk(stream):
    38     """return the next chunk from stream as a string"""
    42     """return the next chunk from stream as a string"""