Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1779 - trunk/subclipse/ui/src/org/tigris/subversion/subclipse/ui/compare

subclipse
Discussion topic

Back to topic list

svn commit: r1779 - trunk/subclipse/ui/src/org/tigris/subversion/subclipse/ui/compare

Author yakko
Full name yae suzuki
Date 2005-11-22 20:05:48 PST
Message Author: yakko
Date: Tue Nov 22 20:05:47 2005
New Revision: 1779

Modified:
   trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/co​mpare/ResourceEditio​nNode.java
Log:
Set the charset of each local file to each remote file.
Issue #: 419


Modified: trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/co​mpare/ResourceEditio​nNode.java
Url: http://subclipse.tig​ris.org/source/brows​e/subclipse/trunk/su​bclipse/ui/src/org/t​igris/subversion/sub​clipse/ui/compare/Re​sourceEditionNode.ja​va?view=diff&rev​=1779&p1=trunk/s​ubclipse/ui/src/org/​tigris/subversion/su​bclipse/ui/compare/R​esourceEditionNode.j​ava&r1=1778&​p2=trunk/subclipse/u​i/src/org/tigris/sub​version/subclipse/ui​/compare/ResourceEdi​tionNode.java&r2​=1779
====================​====================​====================​==================
--- trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/co​mpare/ResourceEditio​nNode.java (original)
+++ trunk/subclipse/ui/s​rc/org/tigris/subver​sion/subclipse/ui/co​mpare/ResourceEditio​nNode.java Tue Nov 22 20:05:47 2005
@@ -99,6 +99,11 @@
                                             if (localNode != null) {
                                                 children[i]
                                                         .setLocalResource(localNode);
+ try {
+ children[i].setChars​et(localNode.getChar​set());
+ } catch (CoreException e) {
+ e.printStackTrace();
+ }
                                             }
                                         }
                                     } catch (TeamException e) {
@@ -206,11 +211,6 @@
             String localPath=((SVNLocal​ResourceNode)lrn[i])​.getResource().getFu​llPath().toString();​
             localPath = localPath.substring(​localPath.indexOf("/​",1));
             if(localPath.equals(​remotePath)){
- try {
- setCharset(((SVNLoca​lResourceNode)lrn[i]​).getCharset());
- } catch (CoreException e) {
- e.printStackTrace();
- }
                 return (SVNLocalResourceNode)lrn[i];
             }
         }

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

Messages

Show all messages in topic

svn commit: r1779 - trunk/subclipse/ui/src/org/tigris/subversion/subclipse/ui/compare yakko yae suzuki 2005-11-22 20:05:48 PST
Messages per page: