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 208239 - Diff on new remote file doesn't display the file contents
Summary: Diff on new remote file doesn't display the file contents
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-02-10 10:57 UTC by ibeaumont
Modified: 2012-04-16 13:10 UTC (History)
1 user (show)

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 ibeaumont 2012-02-10 10:57:50 UTC
When running a diff and getting the list of file changes, any that are marked as status "remotely new" cannot be viewed.  It used to be that in NB6.9 and early (I think that was the version) - if you did a diff on a remotely new file you could view the file.  Now you just get an error saying the local file can't be found - which obviously it can't.
This is really annoying as it means the only way to view the new file is to check it out - it is now impossible to view it beforehand.
This is a backward step as I'm sure in older versions of Netbeans you could.
Comment 1 Ondrej Vrabec 2012-02-10 11:00:56 UTC
Are you using svn 1.7?
Comment 2 ibeaumont 2012-02-10 11:07:15 UTC
(In reply to comment #1)
> Are you using svn 1.7?

No.
svn, version 1.6.9 (r901367)
Comment 3 Ondrej Vrabec 2012-02-10 11:10:38 UTC
They please attach the messages log with the error.
Comment 4 ibeaumont 2012-02-10 11:17:07 UTC
(In reply to comment #3)
> They please attach the messages log with the error.

This is what it says in the SVN output window...
The filename, directory name, or volume label syntax is incorrect.  
svn: Can't check path 'svn://win2008-cat/Repository/Xalerts%206/trunk/Xalerts%20MMC%20Project/Business%20Layer/src/com/categoric/businesslayer/entities/PasswordHistory.java': The filename, directory name, or volume label syntax is incorrect.  


Maybe it is the spaces in the directory names that are an issue?


org.tigris.subversion.javahl.ClientException: The filename, directory name, or volume label syntax is incorrect.  
svn: Can't check path 'svn://win2008-cat/Repository/Xalerts%206/trunk/Xalerts%20MMC%20Project/Business%20Layer/src/com/categoric/businesslayer/entities/PasswordHistoryManager.java': The filename, directory name, or volume label syntax is incorrect.  
	at org.tigris.subversion.javahl.SVNClient.fileContent(Native Method)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getContent(AbstractJhlClientAdapter.java:1146)
Caused: org.tigris.subversion.svnclientadapter.SVNClientException
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getContent(AbstractJhlClientAdapter.java:1151)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handle(SvnClientInvocationHandler.java:360)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invokeMethod(SvnClientInvocationHandler.java:321)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler$2.call(SvnClientInvocationHandler.java:169)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:175)
	at $Proxy24.getContent(Unknown Source)
	at org.netbeans.modules.subversion.VersionsCache.getInputStream(VersionsCache.java:291)
	at org.netbeans.modules.subversion.VersionsCache.getFileRevision(VersionsCache.java:203)
Caused: java.io.IOException: Can not load: C:\Xalerts6\Business Layer\src\com\categoric\businesslayer\entities\PasswordHistoryManager.java in revision: HEAD
	at org.netbeans.modules.subversion.VersionsCache.getFileRevision(VersionsCache.java:218)
	at org.netbeans.modules.subversion.VersionsCache.getFileRevision(VersionsCache.java:136)
	at org.netbeans.modules.subversion.ui.diff.DiffStreamSource.init(DiffStreamSource.java:218)
Caused: java.io.IOException: Can not load remote file for C:\Xalerts6\Business Layer\src\com\categoric\businesslayer\entities\PasswordHistoryManager.java
	at org.netbeans.modules.subversion.ui.diff.DiffStreamSource.init(DiffStreamSource.java:240)
	at org.netbeans.modules.subversion.ui.diff.Setup.initSources(Setup.java:349)
	at org.netbeans.modules.subversion.ui.diff.MultiDiffPanel$DiffPrepareTask.run(MultiDiffPanel.java:971)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 5 Ondrej Vrabec 2012-03-13 14:00:59 UTC
maybe worth backporting to 7.1
Comment 6 Ondrej Vrabec 2012-03-13 14:01:44 UTC
fix: http://hg.netbeans.org/core-main/rev/2e89115f89da
Comment 7 Quality Engineering 2012-03-17 10:41:12 UTC
Integrated into 'main-golden', will be available in build *201203170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2e89115f89da
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #208239 - Diff on new remote file doesn't display the file contents
Comment 8 Stepan Zebra 2012-04-03 09:42:07 UTC
verified in trunk
Comment 9 Ondrej Vrabec 2012-04-03 10:40:47 UTC
release71_fixes: http://hg.netbeans.org/releases/rev/d9f991602341
Comment 10 Quality Engineering 2012-04-04 01:00:20 UTC
Integrated into 'releases', will be available in build *201204032205* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/d9f991602341
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #208239 - Diff on new remote file doesn't display the file contents
(transplanted from 2e89115f89da4a5b7ef90d5ac6c9acc01419c296)
Comment 11 Stepan Zebra 2012-04-16 13:10:54 UTC
verified in 7.1.2