Changeset 149 for trunk/lib/SVN.cc


Ignore:
Timestamp:
Aug 12, 2006, 11:11:46 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Changed svnstat to svndigest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/SVN.cc

    r142 r149  
    44  Copyright (C) 2006 Jari Häkkinen
    55
    6   This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
    7 
    8   svnstat is free software; you can redistribute it and/or modify it
     6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
     7
     8  svndigest is free software; you can redistribute it and/or modify it
    99  under the terms of the GNU General Public License as published by
    1010  the Free Software Foundation; either version 2 of the License, or
    1111  (at your option) any later version.
    1212
    13   svnstat is distributed in the hope that it will be useful, but
     13  svndigest is distributed in the hope that it will be useful, but
    1414  WITHOUT ANY WARRANTY; without even the implied warranty of
    15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1616  General Public License for more details.
    1717
     
    3535
    3636namespace theplu {
    37 namespace svnstat {
     37namespace svndigest {
    3838
    3939
     
    5151    // thrown and caught with subsequent reinitializatios is safe
    5252    // memorywise but what about APR internal counters?)
    53     if (svn_cmdline_init("svnstat",stderr) != EXIT_SUCCESS)
     53    if (svn_cmdline_init("svndigest",stderr) != EXIT_SUCCESS)
    5454      throw SVNException("SVN(void): svn_cmdline_init failed");
    5555
     
    129129                                       subpool);
    130130    if (err && err->apr_err!=SVN_ERR_CLIENT_IS_BINARY_FILE) {
    131       svn_handle_error2(err, stderr, false, "svnstat: ");
     131      svn_handle_error2(err, stderr, false, "svndigest: ");
    132132      svn_error_clear(err);
    133133      svn_pool_destroy(subpool);
     
    145145    if (svn_error_t *err=svn_client_info(path.c_str(), NULL, NULL, receiver,
    146146                                         baton, false, context_, subpool)) {
    147       svn_handle_error2(err, stderr, false, "svnstat: ");
     147      svn_handle_error2(err, stderr, false, "svndigest: ");
    148148      svn_error_clear(err);
    149149      svn_pool_destroy(subpool);
     
    174174    if ((err=svn_ra_get_latest_revnum(ra_session_, &(head.value.number),
    175175                                      subpool))) {
    176       svn_handle_error2(err, stderr, false, "svnstat: ");
     176      svn_handle_error2(err, stderr, false, "svndigest: ");
    177177      svn_error_clear(err);
    178178      svn_pool_destroy(subpool);
     
    187187                             log_message_receiver, static_cast<void*>(&lb),
    188188                             context_, subpool))) {
    189       svn_handle_error2(err, stderr, false, "svnstat: ");
     189      svn_handle_error2(err, stderr, false, "svndigest: ");
    190190      svn_error_clear(err);
    191191      svn_pool_destroy(subpool);
     
    199199  void SVN::cleanup_failed_initialization(svn_error_t *err)
    200200  {
    201     svn_handle_error2(err,stderr,false,"svnstat:");
     201    svn_handle_error2(err,stderr,false,"svndigest:");
    202202    svn_error_clear(err);
    203203    svn_pool_destroy(pool_);
     
    224224    if (svn_error_t *err=svn_client_open_ra_session(&ra_session_, path.c_str(),
    225225                                                    context_,pool_)) {
    226       svn_handle_error2(err,stderr,false,"svnstat:");
     226      svn_handle_error2(err,stderr,false,"svndigest:");
    227227      svn_error_clear(err);
    228228      throw SVNException("setup_ra_session: svn_client_open_ra_session failed");
     
    239239                                          false, -1, context_->cancel_func,
    240240                                          context_->cancel_baton, pool_)) {
    241       svn_handle_error2(err,stderr,false,"svnstat:");
     241      svn_handle_error2(err,stderr,false,"svndigest:");
    242242      svn_error_clear(err);
    243243      throw SVNException("setup_wc_adm_access: svn_wc_adm_open3 failed");
     
    253253        svn_wc_status2(&status,svn_path_internal_style(path.c_str(), subpool),
    254254                       adm_access_, subpool)) {
    255       svn_handle_error2(err,stderr,false,"svnstat:");
     255      svn_handle_error2(err,stderr,false,"svndigest:");
    256256      svn_error_clear(err);
    257257      svn_pool_destroy(subpool);
     
    270270
    271271
    272 }} // end of namespace svnstat and namespace theplu
     272}} // end of namespace svndigest and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.