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

void svn::Client::doExport ( const Path from_path,
const Path to_path,
const Revision revision,
bool  overwrite = false,
const Revision peg_revision = Revision::UNSPECIFIED,
bool  ignore_externals = false,
bool  recurse = true,
const char *  native_eol = NULL 
) throw (ClientException)

Export into file or directory TO_PATH from local or remote FROM_PATH

Parameters:
from_path path to import
to_path where to import
revision revision of files in source repository or working copy
peg_revision 
overwrite overwrite existing files in to_path
ignore_externals whether to ignore external sources in from_path
recurse 
native_eol which EOL to use when exporting, usually different for different OSs
Exceptions:
ClientException 

Definition at line 344 of file client_modify.cpp.

  {
    Pool pool;
    svn_revnum_t revnum = 0;

    svn_error_t * error =
      svn_client_export3(&revnum,
                         from_path.c_str(),
                         to_path.c_str(),
                         peg_revision.revision(),
                         revision.revision(),
                         overwrite,
                         ignore_externals,
                         recurse,
                         native_eol,
                         *m_context,
                         pool);

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


Generated by  Doxygen 1.6.0   Back to index