mercurial/help/internals/bundles.txt
changeset 29747 aba2bb2a6d0f
parent 27373 84784f834b3a
child 36451 1fa35ca345a5
equal deleted inserted replaced
29746:3dbc95f3eb31 29747:aba2bb2a6d0f
     1 Bundles
       
     2 =======
       
     3 
       
     4 A bundle is a container for repository data.
     1 A bundle is a container for repository data.
     5 
     2 
     6 Bundles are used as standalone files as well as the interchange format
     3 Bundles are used as standalone files as well as the interchange format
     7 over the wire protocol used when two Mercurial peers communicate with
     4 over the wire protocol used when two Mercurial peers communicate with
     8 each other.
     5 each other.
     9 
     6 
    10 Headers
     7 Headers
    11 -------
     8 =======
    12 
     9 
    13 Bundles produced since Mercurial 0.7 (September 2005) have a 4 byte
    10 Bundles produced since Mercurial 0.7 (September 2005) have a 4 byte
    14 header identifying the major bundle type. The header always begins with
    11 header identifying the major bundle type. The header always begins with
    15 ``HG`` and the follow 2 bytes indicate the bundle type/version. Some
    12 ``HG`` and the follow 2 bytes indicate the bundle type/version. Some
    16 bundle types have additional data after this 4 byte header.
    13 bundle types have additional data after this 4 byte header.