Changeset 1218 for trunk/lib/SVN.h


Ignore:
Timestamp:
Oct 10, 2010, 4:27:39 AM (11 years ago)
Author:
Peter Johansson
Message:

refs #371. Remove variable binary_ in SVNblame, which was not
used. SVNblame will now fail if ued on binary file (but we don't call
blame on binary files). The SVN class now takes care of svn errors and
translate them into exceptions via the cleanup function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/SVN.h

    r1217 r1218  
    112112
    113113       \a path can be either a URL or an WC target.
    114 
    115        \return SVN_NO_ERROR or SVN_ERR_CLIENT_IS_BINARY_FILE, the
    116        latter can be used to trigger on binary files. Note that errors
    117        return from underlying subversion API must be cleared by the
    118        receiver.
    119 
    120        \see Subversion API (svn_error_clear).
    121     */
    122     svn_error_t * client_blame(const std::string& path,
    123                                svn_client_blame_receiver_t receiver,
    124                                void *baton);
     114    */
     115    void client_blame(const std::string& path,
     116                      svn_client_blame_receiver_t receiver,
     117                      void *baton);
    125118
    126119    /**
     
    128121       \a rev can be set.
    129122     */
    130     svn_error_t * client_blame(const std::string& path,
    131                                svn_client_blame_receiver_t receiver,
    132                                void *baton, svn_revnum_t rev);
     123    void client_blame(const std::string& path,
     124                      svn_client_blame_receiver_t receiver,
     125                      void *baton, svn_revnum_t rev);
    133126
    134127    /**
     
    288281    */
    289282    static svn_error_t*
    290     root_url_receiver(void *baton, const char *path, const svn_info_t *info,
    291                       apr_pool_t *pool);
    292 
    293     svn_error_t* client_blame_call(const std::string& path,
    294                                   svn_client_blame_receiver_t receiver,
    295                                   void *baton, svn_opt_revision_t& head);
     283    root_url_receiver(void *baton, const char *path,
     284                      const svn_info_t *info, apr_pool_t *pool);
     285
     286    void client_blame_call(const std::string& path,
     287                          svn_client_blame_receiver_t receiver,
     288                          void *baton, svn_opt_revision_t& head);
    296289
    297290    svn_wc_adm_access_t* adm_access_;
Note: See TracChangeset for help on using the changeset viewer.