Patch to create parent directories with "svn mkdir" command w.r.t to an url,
when the "-p|--parents" option is specified. There is already a patch by
Stephen Oberholtzer, attached to the issue tracker to introduce the
'-p|--parents' cmd line option and create local parent directories.
Is libsvn_client the right place to be making this change ? 'svn import'
seems to do something similar.
Log :
* subversion/libsvn_client/add.c
(mkdir_urls): Add boolean parameter to function - 'make_parents' to
determine if parent directories should be created.'mkdir_urls' calls
svn_client__url_paths to find the section of the url that exists and
and the new path to be created. A common url and a list of targets are
also determined to drive the delta path driver.
(svn_client_mkdir2): Call mkdir_urls with new make_parents parameter.
(svn_client__url_paths): New function to find portion of url that exists
and the path to be created; called by mkdir_urls. Open ra session to user
specified url, and find the existing section of the url and the path to
be created.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 7 13:51:43 2005