I've just tried this using your exact same file structure and filenames and have been unable to reproduce the problem you're describing. Could you re-test this? Are you sure there isn't another folder tradinghistory/history which has the same file structure and you're actually trying to rename that a file in that directory instead?
Thanks in advance
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG