[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Compare With - Revision does not work for moved files

From: Stefan Baramov <Stefan.Baramov_at_trx.com>
Date: 2004-12-10 23:05:19 CET

Compare With - Revision does not work for files that have been renamed (moved).

Here is the stack trace:

org.eclipse.team.core.TeamException[0]: org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: HTTP Path Not Found
svn: PROPFIND request failed on '/svn/ead.test/!svn/bc/20/trunk/jw-0725/src/strings/StringTest23B.java'
svn: '/svn/ead.test/!svn/bc/20/trunk/jw-0725/src/strings/StringTest23B.java' path not found
         at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.getContent(JhlClientAdapter.java:1018) at org.tigris.subversion.subclipse.core.resources.RemoteFile.fetchContents(RemoteFile.java:74) at org.eclipse.team.core.variants.CachedResourceVariant.ensureContentsCached(CachedResourceVariant.java:121) at org.eclipse.team.core.variants.CachedResourceVariant.getStorage(CachedResourceVariant.java:111) at org.tigris.subversion.subclipse.ui.editor.RemoteFileEditorInput.initializeStorage(RemoteFileEditorInput.java:57) at org.tigris.subversion.subclipse.ui.editor.RemoteFileEditorInput.<init>(RemoteFileEditorInput.java:43) at org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction$1.run(OpenRemoteFileAction.java:57) at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:366) at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:228) at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:237) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:234) at org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction.execute(OpenRemoteFileAction.java:37) at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:58) at org.tigris.subversion.subclipse.ui.history.HistoryView$6.run(HistoryView.java:246) at org.tigris.subversion.subclipse.ui.history.HistoryView$13.handleEvent(HistoryView.java:378) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) Caused by: org.tigris.subversion.javahl.ClientException: HTTP Path Not Found
svn: PROPFIND request failed on '/svn/ead.test/!svn/bc/20/trunk/jw-0725/src/strings/StringTest23B.java'
svn: '/svn/ead.test/!svn/bc/20/trunk/jw-0725/src/strings/StringTest23B.java' path not found
         at org.tigris.subversion.javahl.SVNClient.fileContent(Native Method) at org.tigris.subversion.javahl.SVNClientSynchronized.fileContent(SVNClientSynchronized.java:634) at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.getContent(JhlClientAdapter.java:1013) ... 34 more

It says "path not found" because Subclipse is trying to find revision 20 under the StringTest23B.java name. However the revision 20 was made under StringTest23A.java name. In other words the StringTest23A.java was renamed to StringTest23B.java.

I am not quite sure whether this is a limitation of Subversion or a bug in Subclipse.

Stefan Baramov
Software Developer
Received on Sat Dec 11 09:05:19 2004

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.