> From: Michael Power [mailto:[email protected]]
> Sent: Thursday, December 19, 2013 10:22 PM
> To: [email protected]
> Subject: [thg] Tortoisehg push named branch to named branch
>
> Hello,
>
> I am trying to use tortoisehg to push from a named branch locally to a named 
> branch
> remotely.  Is this possible?  I do not see any options in the Workbench to 
> push to
> a specific branch.
>
> If I open the synchronize menu there is an options button, under the options 
> button
> there is a branch field.  I can fill in that branch field with the correct 
> branch
> but when I push the command it runs is:
>
> % hg --repository #### push --branch . --branch mpower ssh://hg@####
>
> Even though it adds the "-branch mpower", it does not remove the "-branch ."  
> My
> remote repository has default lock to all but a few users.  I cannot push to 
> default
> I need to push to mpower.
>
> Is this possible?
>
> Michael Power

Hmm, that's never happened to me when I'm pushing a specific branch.

Ok, I think the issue is 'defaultpush = branch' in TortoiseHg's settings. The 
Options button appears to add stuff to your default push not override it.

Doing any of the following should fix the issue.
+ Move the defaultpush setting out of global settings and into the specific 
repositories where you want it.
+ Update the repo to mpower branch before pushing.
+ Instead of setting the branch in Options, check Target and choose the mpower 
branch in the drop-down box

Mischa

________________________________

This e-mail message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain information that is confidential and 
protected by law from unauthorized disclosure. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to