Search code examples
mercurialtortoisesvnpreferencesworkbench

Hg Workbench Preferences are messing with me


I use the GUI version of Hg, and in the Workbench Preferences, I wanted to add some options.

I tried to add colors for branches by branch name, which worked well. But I did a mistake when I wrote one and... I can't make my mistake disappear.

I tried to reload the Workbench, to close all Hg processes, to edit the .ini files... nothing worked.

Each time I write something in the dropdown list of the UI it saves it and I can't clear it. Now it looks weird like that:

Dropdown list

and the coloring in the Workbench doesn't work any more.

The .ini files look pretty well:

[tortoisehg]
branchcolors = default:#8080FF
branchcolors = wip_morph:#D0A030
branchcolors = wip_djobi:#30A0A0
branchcolors = wip_legulysse:#FF0000

I didn't find a way to clean it. Do you have any suggestion?


Solution

  • You must to have one key branchcolors with any amount of branches in list

    Space separated list of branch names and colors of the form branch:#XXXXXX

    Just edit mercurial.ini be hand and remove duplicates