This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot rename a file which is not yet added to a repository | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | _ tboudreau <tboudreau> |
Component: | Mercurial | Assignee: | issues@versioncontrol <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | proposed patch |
Description
_ tboudreau
2008-01-28 02:30:51 UTC
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]
proposed patch
searching for changes changeset: 65117:5c95b41895b9 user: padraigob@netbeans.org date: Wed Jan 30 13:21:35 2008 +0000 files: mercurial/src/org/netbeans/modules/mercurial/MercurialInterceptor.java mercurial/src/org/netbeans/modules/mercurial/util/HgCommand.java description: Issue 126062: Allow rename of directory to work even if it is does not contain managed files. changeset: 65156:9b02794858a0 tag: tip parent: 65117:5c95b41895b9 parent: 65155:6c7b13ce6dd0 user: padraigob@netbeans.org date: Wed Jan 30 13:25:24 2008 +0000 description: 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 changed. I cannot reproduce this new problem from the description you have given. Please open a new bug for this. |