Logo Search packages:      
Sourcecode: rapidsvn version File versions  Download package

void svn::Client::move ( const Path srcPath,
const Revision srcRevision,
const Path destPath,
bool  force 
) throw (ClientException)

Moves or renames a file.

Exceptions:
ClientException 

Definition at line 262 of file client_modify.cpp.

Referenced by RenameAction::Perform(), MoveAction::Perform(), and DragAndDropAction::Perform().

  {
    Pool pool;
    svn_client_commit_info_t *commit_info = NULL;

    svn_error_t * error =
      svn_client_move2(&commit_info,
                       srcPath.c_str(),
                       destPath.c_str(),
                       force,
                       *m_context,
                       pool);

    if (error != NULL)
      throw ClientException(error);
  }


Generated by  Doxygen 1.6.0   Back to index