I decided to rename some directories in my home/hobby Python package (doc to docs, test to tests, util to
Mercurial has no concept of directories; it treats everything (files and directories) as files. Also, I usually never rename files or directories manually; I just use
hg rename old-name new-name
I suggest you do that too.
Mercurial offers a rename-tracking feature, which means that mercurial can trace the complete history of a file which has been renamed. If you manually rename this, its not possible.
However, as you have already renamed them manually, you need to use the --follow argument along with hg log to track the file changes through the history.
Personally I'd just go with hg rename and it should be the preferred method.