Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351370 - 'Replace with revision' fails when using javahl16 connector
Summary: 'Replace with revision' fails when using javahl16 connector
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Connectors (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 15:53 EDT by Mike Bernat CLA
Modified: 2011-07-08 15:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Bernat CLA 2011-07-06 15:53:51 EDT
Build Identifier: 3.6.1 M20100909-0800

When a project is located outside of the eclipse workspace, attempting to replace a file with a previous revision results in the following error:

!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2011-07-06 14:58:51.083
!MESSAGE SVN: '0x0040003e: Replace With Revision' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2011-07-06 14:58:51.083
!MESSAGE SVN: 'Replace' operation finished with error: The system cannot find the path specified.  
svn: Can't open 'C:\SVNTest\F1\F2\svn6794499195566669048\tempfile.tmp': The system cannot find the path specified.  

!STACK 0
org.eclipse.team.svn.core.connector.SVNConnectorException: The system cannot find the path specified.  
svn: Can't open 'C:\SVNTest\F1\F2\svn6794499195566669048\tempfile.tmp': The system cannot find the path specified.  

	at org.polarion.team.svn.connector.javahl.JavaHLConnector.handleClientException(JavaHLConnector.java:1488)
	at org.polarion.team.svn.connector.javahl.JavaHLConnector.doExport(JavaHLConnector.java:1065)
	at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.doExport(ThreadNameModifier.java:178)
	at org.eclipse.team.svn.core.operation.remote.ReplaceWithRemoteOperation.runImpl(ReplaceWithRemoteOperation.java:66)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:95)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:39)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
	at org.eclipse.team.svn.ui.utility.WorkspaceModifyCancellableOperationWrapper.execute(WorkspaceModifyCancellableOperationWrapper.java:58)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
	at org.eclipse.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.tigris.subversion.javahl.ClientException: The system cannot find the path specified.  
svn: Can't open 'C:\SVNTest\F1\F2\svn6794499195566669048\tempfile.tmp': The system cannot find the path specified.  

	at org.tigris.subversion.javahl.SVNClient.doExport(Native Method)
	at org.polarion.team.svn.connector.javahl.JavaHLConnector.doExport(JavaHLConnector.java:1062)


Reproducible: Always

Steps to Reproduce:
1. Create eclipse project outside of workspace
2. Add file and folders to project
3. Share project to SVN repository
4. Modify and save one file
5. Commit change to repository
6. Select file and choose Replace with->Revision or URL...
7. Browse for the previous revision of the file
8. Click OK
File is not updated and exceptions shown above are thrown.
Comment 1 Mike Bernat CLA 2011-07-06 17:40:27 EDT
Additional testing indicates that this issue is not likely related to the project files being outside of the workspace. I can produce the same failure with files in the workspace. Unfortunately, the diagnostics do not provide any information as to what is actually wrong.
Comment 2 Mike Bernat CLA 2011-07-07 15:24:09 EDT
Further efforts to make this work resulted in replacing the javahl16 connector with the svnkit16 connector and all seem well.
Comment 3 Alexander Gurov CLA 2011-07-08 15:04:02 EDT
Fixed.