Mercury error "Invalid file name, directory or volume name"

I get the following error when trying to update the Mercurial directory on a PC:

Incorrect file name, directory name, or volume name.

Other comments noted that the problem is that there are ampersands or carriages on the way. However, my path is this:

C:\Users\First Last\Desktop\goodmorningcmc 

It has no ampersands.

Is it possible that the error is caused by a space in my username? This is a really disappointing mistake.

Thanks Kevin

+7
source share
2 answers

I solved the problem - it turned out that the repo had a file name containing the channel symbol | . Renaming this file solved the problem.

+4
source

I could say that the file was added to the repository by someone else who has a dodgy character in it. When the update starts, Mercurial attempts to create a file on disk. Try running hg serve and look at http: // localhost: 8000 - look at the change history to see which files have been added / renamed. This may give you a clue.

+5
source

All Articles