pushing only one head

venizio krups 0000.vk at gmail.com
Thu Apr 8 07:14:54 CDT 2010

On Thu, Apr 8, 2010 at 8:08 AM, schrei5 <dominikruf at googlemail.com> wrote:
> Hi,
> I was wondering if it is possible to only push one head of my local
> repository to the shared central repository?
> Consider a scenario where you cloned the public repository from a server,
> made some changes to your clone and you also created an additional head
> where you made some experiments. Now you want to push your changes to the
> public repository but you don't want the head with your experiments be
> pushed to the public repository.
> Is this possible? If not wouldn't this be a good feature for future releases
> or an extension?
> Or should I handle this scenario completely different?
> cheers
> Dominik

hg push -r REV should do it.


More information about the Mercurial mailing list