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.

Bug 22143 - Add a support for VCS rename
Summary: Add a support for VCS rename
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.2
Hardware: All All
: P3 blocker (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on: 10145
Blocks:
  Show dependency tree
 
Reported: 2002-04-05 16:04 UTC by Martin Entlicher
Modified: 2012-04-13 15:26 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2002-04-05 16:04:32 UTC
When renaming files in the Explorer or performing
cut/paste operations, there should be a support of
propagating these actions into VCS.
Problems associated with this issue are described
in issue #10145 on which this issue depends.
Comment 1 Martin Entlicher 2002-04-05 16:12:36 UTC
For information about why is it needed please look at
http://www.netbeans.org/servlets/ReadMsg?msgId=296430&listName=nbusers
Comment 2 mdm42 2005-11-13 08:39:43 UTC
I wish this issue would be revived.  Its quite old, and back when it was
reported CVS was probably the only VCS most of us were using, so this issue
would not be a priority, since CVS lacks any meaningful rename functionality.

Now, though, we have Subversion, not to mention many more VCS profiles, and
these mostly DO have a meaningful file rename function.

In addition we have very cool refactoring capability the renames files at the
drop of a hat, but leaves the VCS f^H confused.

No more can we really view this issue as a RFE, but as a BUG.  In the initial
modelling stages of a project, plenty of object renaming goes on, and, whilst it
is very nice to simply hit "Refactor->rename" this leave the VCS in a state of
disarray.  The only workaround is to run the refactoring, manually rename the
file back to its old name (or exclude the file rename from the refactoring), and
then manually run the VCS rename.  Very tedious and error-prone.

Consider this a plea for raising the priority of the issue.
Comment 3 jonathan.pikalek 2012-04-13 15:15:39 UTC
I am also interested in raising attention to this issue.  Having read up on the various other related bug reports, my impression is that not all VCS options support renaming (such as CVS) , which would make having a Refactor -> Rename result in a VCS rename difficult.  Would it be possible to work from the other direction, that is add menu option of the form Subversion -> Rename which would then also provide the option of performing a refactor?
Comment 4 Ondrej Vrabec 2012-04-13 15:26:25 UTC
> Would it be possible to work from the other direction, that is add menu option of the form Subversion -> Rename which would then also provide the option of performing a refactor?
I do not understand, why do you need that? What would be the difference between this Subversion -> Rename and common Refactor -> Rename? All Refactor -> Rename operations are mapped to corresponding svn move commands