Back to tutorial index

Illegal characters in filenames

Since we are using Mercurial on many different operating systems, we could encounter problems with some special (illegal) characters like / ? < > \ : * | " (for example) inside the filenames. Be careful then, and check this page for a further explanation.


I created a Python script for checking all the filenames and renaming the ones with illegal characters. Please set up the path you want to check within the path string.