Changeset 1214


Ignore:
Timestamp:
Oct 9, 2010, 6:08:39 PM (11 years ago)
Author:
Peter Johansson
Message:

simplify flow of cleanup code. refs #371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/SVN.cc

    r978 r1214  
    135135      pool=NULL;
    136136    }
    137     if (message.length()>0)
    138       throw SVNException(message);
     137    assert(message.size()); // compatible with r1213
     138    throw SVNException(message);
    139139  }
    140140
     
    143143                                bool mute)
    144144  {
    145     cleanup(err,pool_, "", true);
    146     throw SVNException(message);
     145    assert(message.size()); // compatible with r1213
     146    cleanup(err,pool_, message, true);
     147    assert(false && "cleanup should throw");
    147148  }
    148149
Note: See TracChangeset for help on using the changeset viewer.