P3D3::Allow renaming of directories

Create issue
Issue #189 resolved
Maya Studios created an issue

Currently, when the user selects a directory and then chooses "Rename Selected File...", one gets an error message reading:

"xxx" is a directory. Mercurial only permits renaming files

However, this doesn't seem to be correct, as I can easily use the commandline and type:

{{{ $ hg rename olddir newdir }}}

This effectively renames the directory.

Comments (3)

  1. Jason Harris repo owner

    - Fix #189. Add support for renaming of directories, and make the rename sheet adjust the title and message according to if we are renaming a file or directory. - Add validateAndSwitchMenuForRenameSelectedItem so that the name of the rename item changes dynamically to rename directory or rename file depending on what is selected.


  2. Log in to comment