Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 37498:aacfca6f9767
wireproto: support for pullbundles
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
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Thu, 18 Jan 2018 12:54:01 +0100 |
parents | d665b4ea7d4c |
children | 8bb3899a0f47 |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Apr 06 22:39:58 2018 -0700 +++ b/mercurial/commands.py Thu Jan 18 12:54:01 2018 +0100 @@ -1413,12 +1413,13 @@ i) tip When cloning from servers that support it, Mercurial may fetch - pre-generated data from a server-advertised URL. When this is done, - hooks operating on incoming changesets and changegroups may fire twice, - once for the bundle fetched from the URL and another for any additional - data not fetched from this URL. In addition, if an error occurs, the - repository may be rolled back to a partial clone. This behavior may - change in future releases. See :hg:`help -e clonebundles` for more. + pre-generated data from a server-advertised URL or inline from the + same stream. When this is done, hooks operating on incoming changesets + and changegroups may fire more than once, once for each pre-generated + bundle and as well as for any additional remaining data. In addition, + if an error occurs, the repository may be rolled back to a partial + clone. This behavior may change in future releases. + See :hg:`help -e clonebundles` for more. Examples: @@ -3952,6 +3953,12 @@ -R is specified). By default, this does not update the copy of the project in the working directory. + When cloning from servers that support it, Mercurial may fetch + pre-generated data. When this is done, hooks operating on incoming + changesets and changegroups may fire more than once, once for each + pre-generated bundle and as well as for any additional remaining + data. See :hg:`help -e clonebundles` for more. + Use :hg:`incoming` if you want to see what would have been added by a pull at the time you issued this command. If you then decide to add those changes to the repository, you should use :hg:`pull