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

open resource from change path list

From: Eugene Kuleshov <eu_at_javatx.com>
Date: 2005-06-19 07:21:41 CEST

Mark,

   I was looking at the SVN Resource history view and found that there
is some code for double click in change path table (bottom right panel),
but it wasn't opening remote resources because
LogEntryChangePath.getAdapter() is returning null in this case. I've
tracked it down to getUrl() methods and with the following patch double
click started to work.

   Mark, can you please verify if this is affecting anything else and if
not maybe you can apply this path?

   Thanks.

   Eugene

PS: there is another patch to enable drag-n-drop from repository view to
resource history submitted to bug tracker.
http://subclipse.tigris.org/issues/show_bug.cgi?id=318

Index:
C:/dev/eclipse/org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/history/LogEntryChangePath.java
===================================================================
---
C:/dev/eclipse/org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/history/LogEntryChangePath.java
(revision 1374)
+++
C:/dev/eclipse/org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/history/LogEntryChangePath.java
(working copy)
@@ -86,7 +86,7 @@
       * be determined
       */
      public SVNUrl getUrl() {
- SVNUrl repositoryRoot = getRepository().getRepositoryRoot();
+ SVNUrl repositoryRoot = getRepository().getUrl();
          if (repositoryRoot != null) {
              try {
                                  return new SVNUrl(repositoryRoot.get()+getPath());
Received on Sun Jun 19 15:21:41 2005

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

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