Import patch into patch queue fails with # in filename
Created originally on Bitbucket by fknol (Frank Knol)
Seen in TortoiseHg version 2.9
Patches can be created with a # in the filename, but when trying to import the same patch file to the patches, the command fails with the following error:
abort: "#" cannot be used in the name of a patch
Renaming the file does the trick