Thursday, August 29, 2013

How do I get to the command line in TortoiseHg Workbench?

abort: push creates new remote head 177db2f43b1d!
hint: did you forget to merge? use push -f to force

 
 

If you are seeing something like the above in TortoiseHg Workbench when you try to push up to a shelf, you will need to entertain the act suggested in this alert at the command line. This naturally, begs the question: "How do I get to the command line in TortoiseHg Workbench?" ...to which the answer is to go to the "Terminal" option under the "Repository" menu. Run this command to force a push:

hg push -f thenameofyourshelf

 
 

I think this may do the same thing while targeting a specific revision:

hg push -f thenameofyourshelf -r 4213

 
 

In figuring this out I visited:

No comments:

Post a Comment