pushing only one head

schrei5 dominikruf at googlemail.com
Thu Apr 8 07:39:23 CDT 2010


thanks

I didn't realize that this pushes the whole head.
I guess I should try things out a bit more before asking the mailing list
:-)


0000 vk wrote:
> 
> 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.
> 
> -venizio
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
> 
> 

-- 
View this message in context: http://old.nabble.com/pushing-only-one-head-tp28177591p28177962.html
Sent from the Mercurial mailing list archive at Nabble.com.



More information about the Mercurial mailing list