Show
Ignore:
Timestamp:
09/04/10 07:44:35 (21 months ago)
Author:
stefan
Message:

fixed bug #88: sometimes JLE does not react when after initiating the svn update

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/JLatexEditorJFrame.java

    r821 r834  
    10461046              ""); 
    10471047      if (message != null) { 
    1048         Pair<Boolean, String> result = SVN.getInstance().commit(getMainEditor().getFile().getParentFile(), message); 
     1048        Pair<Boolean, String> result = null; 
     1049        try { 
     1050          result = SVN.getInstance().commit(getMainEditor().getFile().getParentFile(), message); 
     1051        } catch (Exception exception) { 
     1052          statusBar.showMessage("SVN update failed", "SVN update failed: " + exception.getMessage()); 
     1053          return; 
     1054        } 
    10491055        statusBar.showMessage("SVN commit", "<html>SVN commit:<br><br>" + result.second + "</html>"); 
    10501056      }