I have some project folders in a private mercurial repository that were moved there from nb.org's contrib project. Mercurial knows nothing about them yet.
I am trying to rename some of them.
When I try to rename one of these folders in the IDE I get:
ERROR Command failed:
Command: [/usr/local/bin/hg, rename, --repository, /Users/tim/space/hg_nb/nb_all/ext, --cwd, /Users/tim/space/hg_nb/nb_all/ext,
Output: [abort: no files to copy]
in the output window.
The module should detect if the files are known to mercurial and do a normal rename on them if not.
Can you clarify whether the problem is with files or folders?
This was folders; I filed a similar issue for renaming files. May be the same thing.
I can reproduce it in Favourites or Files View but not in Projects View.
I do not see an issue open about renaming files. What is its number?
Created attachment 55763 [details]
searching for changes
date: Wed Jan 30 13:21:35 2008 +0000
Issue 126062: Allow rename of directory to work even if it is does not contain managed files.
date: Wed Jan 30 13:25:24 2008 +0000
Automated merge with http://hg.netbeans.org/main
Hrm, I thought I filed it.
Just copy a Foo.java (managed) and paste it as Foo_1.java (unmanaged). Refactor-rename it to Bar.java. The content is refactored; the filename is not
I cannot reproduce this new problem from the description you have given. Please open a new bug for this.