user45623
user45623

Reputation: 621

Reset default branch in Mercurial/TortoiseHG

I pulled from the newfeatures branch in one of my Mercurial repos using TortoiseHg. Now whenever I try to pull from ANY of my repos, it tries to use the newfeatures branch, which doesn't exist on any of my other repos.

I cannot find any setting to let me fix this. I uninstalled TortoiseHG and reinstalled it and the problem still occurs. I deleted all my local repos and tried recloning them and the problem still occurs.

My Mercurial.ini does not specify a branch. If I go into the console and type hg branch it reports default. TortoiseHg workbench says Branch: default above selected options and the selected options are --pushafter = True . However, every time I try to pull, the output log reads hg pull --verbose --branch newfeatures.

How can I fix this?

Upvotes: 0

Views: 389

Answers (1)

Vince
Vince

Reputation: 3577

Could it be because of the Target check box in the Synchronize panel? Even if the panel is not visible, the Pull button uses those settings when TortoiseHg issues the hg pull command.

<code>Target</code> check box

Upvotes: 1

Related Questions