cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 135882 - Rename of a Project under VCS - loss of .hg directory
: Rename of a Project under VCS - loss of .hg directory
Status: NEW
: versioncontrol
Code
: 6.1
: All All
: P2 (vote)
: 6.9
Assigned To:
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-27 14:17 by
Modified: 2008-10-24 17:31 (History)
Issue Type: ENHANCEMENT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-05-27 14:17:53
Rename of a Project under Mercurial control, with option selected to rename
directory also, will result in renamed
Project no longer being under Mercurial control. The original projects .hg
repository directory is lost in this rename
scenario.

1, Create a new Java project (e.g. JavaAplication1) and initialize it as
Mercurial project and Commit
2, Refactor - rename the whole project, select option to rename Directory as
well

What we see is the renamed project appears, but it is no longer under Mercurial
control. In the process of doing the
copy and rename it appears that the .hg folder is deleted and not copied over
to the renamed directory.
------- Comment #1 From 2008-05-29 12:50:02 -------
This is a known issue and effects Subversion and CVS. It is to do with th
implementation of rename and out of the
mercurial plugin's control.
------- Comment #2 From 2008-09-03 13:07:17 -------
This is a general problem of all VCS supported by the IDE. Changing to FEATURE.
------- Comment #3 From 2008-09-03 15:50:18 -------
*** Issue 142616 has been marked as a duplicate of this issue. ***
------- Comment #4 From 2008-09-03 16:46:32 -------
In issue 142616, the problem occurred when renaming a non-version-controlled
directory with version-controlled
subdirectories.  So it applies to a broader set of circumstances than just
renaming the Project directory.