How to make TortoiseHg pull certain branch only?
Posted
by
mark
on Super User
See other posts from Super User
or by mark
Published on 2011-11-14T13:59:53Z
Indexed on
2011/11/14
17:56 UTC
Read the original article
Hit count: 223
tortoise-hg
I have cloned the default branch of a big repository and now I wish to pull from the server using the TortoiseHg client.
However, TortoiseHg proposes to pull from all the branches. Is it possible to instruct it to pull from the current branch only?
So far I have seen suggestions to:
- Setup a hook on the client side to reject pulls from unwanted branches
- Check incoming revisions in TortoiseHg and only pull the ones belonging to the current branch
- Use the Mercurial ACL extension to deny access to all the branches, but the current one.
I dislike all of these solutions, since all of them are client based. In all of them TortoiseHg actually pulls all of the branches (even in the second, where the pulled revisions are arranged into a bundle presented in the incoming revisions view)
Is there an hg pull -b BRANCH
equivalent in TortoiseHg?
Thanks.
EDIT
I know how to do all of this using the Mercurial command line client - hg.exe. This question is specifically about the TortoiseHg GUI client.
© Super User or respective owner