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 118485 - Plugin attempts to remove deleted files on every commit
Summary: Plugin attempts to remove deleted files on every commit
Status: RESOLVED DUPLICATE of bug 117632
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 03:18 UTC by hiddenbek
Modified: 2008-01-03 09:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hiddenbek 2007-10-11 03:18:52 UTC
I'm running on Ubuntu 7.04, using Java 1.6.0_02, and mercurial 0.9.4 built from source.  In order to ensure I was
starting from a fresh state, I extracted a new copy of the zipped NetBeans 6 beta1 JavaSE distribution and deleted my
~/.netbeans folder.  After launching, I installed the mercurial plugin from the update center, then restarted the IDE
when prompted.

I created a new Java appliction, accepting all the defaults.  I initialized the hg repository from the Versioning menu,
then did my initial commit.  Next I deleted Main.java from my project, and commited again. So far so good.

I added a new java class to my project, and attempted to commit again.  The commit dialog correctly listed NewClass.java
as being Locally Added, but still included Main.java as Locally Removed, despite the fact that it was deleted on the
previous commit.  Attempting to commit anyway gave me the error "unable to execute hg command".

If I exclude the file from the commit all works well, but it continues to show up in commit and status dialogs until I
delete ~/.netbeans/6.0Beta1/var/cache/mercurialcache and restart netbeans.  Things are fine after that, until I delete
another file.
Comment 1 Padraig Obriain 2007-10-11 10:31:14 UTC
I can reproduce this with the beta 1 version of the plugin but not with the version currently in CVS.
Comment 2 Padraig Obriain 2007-10-11 10:46:38 UTC

*** This issue has been marked as a duplicate of 117632 ***
Comment 3 hiddenbek 2007-10-12 13:36:51 UTC
It sure does, thanks.  Sorry about the dupe.