eclipse - TortoiseHg: Push Branch -


I am working on some bugs in my code base and I have created separate branches for each bug. I've rebuilt one of the branches above the default. I usually use the spry plugin for the Eclipse and I'll do a push (when I'm at the default branch). This may change on my default branch.

I tried to do the same with Tortoise HG when I press push, the client complains that I am about to make remote heads / create new branches on the server. Is there a way to change only on a branch using TortoiseHG?

Thank you for your reply!

The easiest way to do this is through the command line, hg push -r. is used with the change that you want to push for details.

It is being said, it is also possible through TortoSHG:

  1. Open your repository explorer
  2. Open Tools-> Synchronize < /
  3. Open "Advanced Options"
  4. Set the "Target Revision" for the change you want to push
  5. Select "Push"

This should only push the changes you specify (with any parent of that change which may be necessary) if you Limit the changes that are driven on the default branch, so there should be no warning about making extra principal.

More information can be found (well, not much).


Comments