Changeset 1216


Ignore:
Timestamp:
Oct 10, 2010, 1:55:42 AM (13 years ago)
Author:
Peter Johansson
Message:

refs #371. avoid using svn_handle_error2 and communicate through exception class instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/SVN.cc

    r1215 r1216  
    160160                    std::string message, bool mute)
    161161  {
    162     if (!mute)
    163       svn_handle_error2(err,stderr,false,"svndigest: ");
    164162    svn_error_clear(err);
    165163    if (pool){
     
    168166    }
    169167    assert(message.size()); // compatible with r1213
     168    if (!mute)
     169      throw SVNException(message, err);
     170    // mute implies we don't wanna hear the message from svn_error_t
    170171    throw SVNException(message);
    171172  }
Note: See TracChangeset for help on using the changeset viewer.