Skip to content
Snippets Groups Projects
  • Jörg Sonnenberger's avatar
    aacfca6f
    wireproto: support for pullbundles · aacfca6f
    Jörg Sonnenberger authored
    Pullbundles are similar to clonebundles, but served as normal inline
    bundle streams. They are almost transparent to the client -- the only
    visible effect is that the client might get less changes than what it
    asked for, i.e. not all requested head revisions are provided.
    
    The client announces support for the necessary retries with the
    partial-pull capability. After receiving a partial bundle, it updates
    the set of revisions shared with the server and drops all now-known
    heads from the request list. It will then rerun getbundle until
    no changes are received or all remote heads are present.
    
    Extend badserverext to support per-socket limit, i.e. don't assume that
    the same limits should be applied to all sockets.
    
    Differential Revision: https://phab.mercurial-scm.org/D1856
    aacfca6f
    History
    wireproto: support for pullbundles
    Jörg Sonnenberger authored
    Pullbundles are similar to clonebundles, but served as normal inline
    bundle streams. They are almost transparent to the client -- the only
    visible effect is that the client might get less changes than what it
    asked for, i.e. not all requested head revisions are provided.
    
    The client announces support for the necessary retries with the
    partial-pull capability. After receiving a partial bundle, it updates
    the set of revisions shared with the server and drops all now-known
    heads from the request list. It will then rerun getbundle until
    no changes are received or all remote heads are present.
    
    Extend badserverext to support per-socket limit, i.e. don't assume that
    the same limits should be applied to all sockets.
    
    Differential Revision: https://phab.mercurial-scm.org/D1856