Changeset 318 for trunk/lib/SVNinfo.cc


Ignore:
Timestamp:
May 18, 2007, 11:35:45 AM (14 years ago)
Author:
Jari Häkkinen
Message:

Fixes #167 and addresses #74. Interfaces have changed. SVN::instance usage has changed, read SVN class documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/SVNinfo.cc

    r312 r318  
    3232
    3333  SVNinfo::SVNinfo(const std::string& path)
    34     : instance_(SVN::instance())
    3534  {
    36     instance_->client_info(path.c_str(), info_receiver,
    37                           static_cast<void*>(&info_receiver_baton_));
     35    SVN::instance()->client_info(path, info_receiver,
     36                                static_cast<void*>(&info_receiver_baton_));
    3837  }
    3938
    4039
    41   svn_error_t *
    42   SVNinfo::info_receiver(void *baton, const char *, const svn_info_t *info,
    43                          apr_pool_t*)
     40  svn_error_t* SVNinfo::info_receiver(void *baton, const char *,
     41                                      const svn_info_t *info, apr_pool_t*)
    4442  {
    4543    if (!info)
     
    6260  }
    6361
    64 
    6562}} // end of namespace svndigest and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.