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.
Created attachment 107071 [details] screenshot Product Version: NetBeans IDE 7.0 RC1 (Build 201103160000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Linux version 2.6.32-29-generic running on i386; UTF-8; en_US (nb) After relocating project, "Versioning Info" window shows old path in "Resource URL" field. Relocation was successful and functionality doesn't seems to be affected. After some another SVN action on the project, the information in "Versioning Info" is updated. Steps to reproduce: 1) Checkout something from https://vcs-test.cz.oracle.com:440/svnsecure 2) On checked out project invoke "Relocate" from main menu 3) Enter svn+ssh://vcs-test.cz.oracle.com/usr/svnrepo into "New URL" field 4) Push "Relocate" button, relocate action should be successfully finished 5) On project root in PE invoke "Subversion | Versioning Info"
So why does Resource URL property remains the same, you're asking? Well, FileStatusCache keeps FileInformation for all files and FI stores a field 'entry'. But after a relocation, the field is neither refreshed nor flushed. IMO, the proper fix would be to do something similar to FileStatusCache.patchRevision, or null the 'entry' field. Who volunteers to fix this?
fix: http://hg.netbeans.org/core-main/rev/d9dd97d9bb73
Integrated into 'main-golden', will be available in build *201103180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d9dd97d9bb73 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #196798 - "Resource URL" at "Versioning Info" not updated after "Relocate" action