You need to log in before you can comment on or make changes to this bug.
In the mercurial plugin we do not permit the moving of a Locally Added file. We should be able to do hg rm -f on that file and so allow the move.
Created an attachment (id=41815) [details] Patch for this bug
If the from file is LocallyAdded we do hg remove -f on it and do hg add on the to file; otherwisae we call hg rename -A
Will fix in rev 1.1 by doing the hg rm -f on the locally added file before the move completes.
Patch committed.
Seeing different behavior - the rename fails and there is an Output error. You can commit the NewFile but the status in the Project view does not get updated until you go and add another file.
The rework on Rename has caused this regression.
Created an attachment (id=51598) [details] proposed patch
IDE:------------------------------------------------- IDE: [10/24/07 4:38 PM] Committing started Checking in MercurialInterceptor.java; /shared/data/ccvs/repository/versioncontrol/mercurial/src/org/netbeans/modules/mercurial/MercurialInterceptor.java,v <-- MercurialInterceptor.java new revision: 1.10; previous revision: 1.9 done IDE: [10/24/07 4:38 PM] Committing finished