comparison mercurial/pushkey.py @ 21065:f9a9a6d63e89

bundle2: prepare readbundle to return more that one type of bundle We first read 4 bytes to get the `HG10` bytes then we read the compression scheme if this is `HG10`. This prepares the code for the arrival of `HG20` handling.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 15 Apr 2014 13:42:45 -0400
parents 59c14bf5a48c
children a2c7ae21e8f4
comparison
equal deleted inserted replaced
21064:4d9d490d7bbe 21065:f9a9a6d63e89