Documentation for Clinet::checkout()

Mate Szalay <[email protected]> Mon, 23 May 2011 12:04:33 -0700 (PDT)
Newsgroups gmane.comp.version-control.subversion.rapidsvn.devel
Message-ID <526436684.16680.1306177473566.JavaMail.httpd@localhost>
Hi,

The documentation of svn::Client::checkout()

http://rapidsvn.tigris.org/svncpp/doc/classsvn_1_1Client.html#936f663abea51a9595bb621e2b977e43

says that the first parameter is:
"""
moduleName 	name of the module to checkout.
"""

I find it confusing. It is used like this:

http://rapidsvn.tigris.org/source/browse/rapidsvn/trunk/src/checkout_action.cpp?revision=8149&view=markup

"""
  client.checkout(repUrlUtf8.c_str(),
                  destFolderUtf8,
                  revision,
                  m_data.Recursive,
                  ignoreExternals,
                  pegRevision);
"""

I don't know the terminology (what "module" means), but I would call this parameter "url". And give a few examples in the documentation. "file://...", "svn://..." and "https://...".

I've only tested it with "file://", it works.

Regards,

-- 
M

------------------------------------------------------
http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=668&dsMessageId=2746022

To unsubscribe from this discussion, e-mail: [[email protected]].