Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1470 - trunk/subclipse/ui/src/org/tigris/subversion/subclipse/ui/history

subclipse
Discussion topic

Back to topic list

svn commit: r1470 - trunk/subclipse/ui/src/org/tigris/subversion/subclipse/ui/history

Author brockj
Full name Brock Janiczak
Date 2005-07-22 17:22:43 PDT
Message Author: brockj
Date: Fri Jul 22 17:22:42 2005
New Revision: 1470

Modified:
   trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/hi​story/HistoryDropAda​pter.java
Log:
* HistoryDropAdapter.java (performDrop)
Removed restriction on showing the history of non file resources
(Patch from Eugene Kuleshov)

Modified: trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/hi​story/HistoryDropAda​pter.java
Url: http://subclipse.tig​ris.org/source/brows​e/subclipse/trunk/su​bclipse/ui/src/org/t​igris/subversion/sub​clipse/ui/history/Hi​storyDropAdapter.jav​a?view=diff&rev=​1470&p1=trunk/su​bclipse/ui/src/org/t​igris/subversion/sub​clipse/ui/history/Hi​storyDropAdapter.jav​a&r1=1469&p2​=trunk/subclipse/ui/​src/org/tigris/subve​rsion/subclipse/ui/h​istory/HistoryDropAd​apter.java&r2=14​70
====================​====================​====================​==================
--- trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/hi​story/HistoryDropAda​pter.java (original)
+++ trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/hi​story/HistoryDropAda​pter.java Fri Jul 22 17:22:42 2005
@@ -11,8 +11,6 @@
  ********************​********************​********************​*******************/​
 package org.tigris.subversio​n.subclipse.ui.histo​ry;
 
-
-import org.eclipse.core.res​ources.IFile;
 import org.eclipse.core.res​ources.IResource;
 import org.eclipse.jface.vi​ewers.StructuredView​er;
 import org.eclipse.jface.vi​ewers.ViewerDropAdap​ter;
@@ -59,7 +57,6 @@
            IResource[] sources = (IResource[])data;
            if (sources.length == 0) return false;
            IResource resource = sources[0];
- if (!(resource instanceof IFile)) return false;
            view.showHistory(resource, true /* fetch */);
            return true;
         } else if( data instanceof ISVNRemoteResource) {

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r1470 - trunk/subclipse/ui/src/org/tigris/subversion/subclipse/ui/history brockj Brock Janiczak 2005-07-22 17:22:43 PDT
Messages per page: