I'm using hg convert to clean up the mess in some hg repositories. In the process I'm using the --branchmap option to rename some branches.
The problem is, branches with a space in the name (a b) don't get renamed. I tried enclosing them in quotes (as seems to work with --filemap) or escaping with a backslash, but to no result.
How can I rename the branches with spaces in their names?
Just do nothing for escaping original branchname. Tested with fresh Mercurial (THG) 5.0.2
Original repo
Branchmap
Converted repo