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 196798 - "Resource URL" at "Versioning Info" not updated after "Relocate" action
Summary: "Resource URL" at "Versioning Info" not updated after "Relocate" action
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 09:39 UTC by Stepan Zebra
Modified: 2011-03-18 09:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (119.17 KB, image/png)
2011-03-17 09:39 UTC, Stepan Zebra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Zebra 2011-03-17 09:39:10 UTC
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"
Comment 1 Ondrej Vrabec 2011-03-17 15:52:52 UTC
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?
Comment 2 Ondrej Vrabec 2011-03-17 16:48:30 UTC
fix: http://hg.netbeans.org/core-main/rev/d9dd97d9bb73
Comment 3 Quality Engineering 2011-03-18 09:45:45 UTC
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