[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Issue #1776 - Create parent directories on url with 'svn mkdir'

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2005-03-07 13:50:30 CET

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

This is an archived mail posted to the Subversion Dev mailing list.