File already exists error message is confusing


#1

If I try to rename a file to a name that already exists in the current directory then C9 correctly shows an error.

However the error message is confusing because it incorrectly shows the original file name and not the duplicate file name that I attempted to change it to.


#2

It should have been newpath instead of path in https://github.com/c9/core/blob/27887682252c0c5d900c1ebce908c935f5baf5bf/plugins/c9.ide.tree/tree.js#L540. I’ll fix that.
Thanks for reporting!