Search code examples
mercurialtortoisehg

How can I suppress TortoiseHg "new branch in remote repository" warning?


I use TortoiseHg as my version control solution. Because I put every feature on a separate branch, I often create new branches. Each time I want to push a new branch, I am presented with a warning about creating a new branch in the remote repository:

TortoiseHg warning about creating a new branch in the remote repository

I am somewhat annoyed by this, because I can't think of a reason not to create a branch in the remote repository when I am pushing changesets on this branch. Is there any way I can tell TortoiseHg to always push new branches to the remote repository?


Solution

  • In the Synchronization view (ALT-4), click the Options button and select "Allow push of a new branch":

    enter image description here