Note:
This page is primarily intended for developers of Mercurial.
Selective Pull
This is a speculative project and does not represent any firm decisions on future behavior.
1. Goal
There are certain scalability issues if hg server has many bookmarks. And usually user is interested in small number of bookmarks. This project will solve these scalability issues by downloading only bookmarks in which user is "interested". By default user may be interested in only one bookmark, for example "master". If user does "hg pull -B remotebook" or "hg update remotebook" then it's considered that user has shown interest in remotebook.
This project will allow server repo's to grow to an arbitrary number of bookmarks without affecting clients performance which in turn will allow to have many scratch branches (for example, one scratch branch per local commit or per code review).
A good place for this project is remotenames extension.
2. Detailed description
All kind of stuff can go here, solution description / alternative solution etc
3. Roadmap
- Figure out how 'hg pull -B foo' works and use an extension to **make 'hg pull' only pull bookmarks** that are already in the remote bookmarks list. As mentioned in #3, we may want to build this directly into the remotenames extension.
step
That
need
to
be
performed
4. See Also
- pointer
- to
- related
- page