mergestate: action name was str
Apparently the standard for them is still to use byte strings.
Found while looking at something else
= Mercurial XXX === New Features ==== Default Format Change ==These changes affect newly created repositories (or new clones) done withMercurial XXX.== New Experimental Features ==== Bug Fixes ==== Backwards Compatibility Changes ==== Internal API Changes ==== Miscellaneous ==