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

Re: RFC: import create parent directories

From: <cmpilato_at_collab.net>
Date: 2002-05-03 16:11:44 CEST

David Kimdon <dwhedon@debian.org> writes:

> I'm writing some scripts that use Subversion and I'd like 'svn import'
> to be able to create parents. That is I'd like :
>
> $ svn import file:///var/svn/hello/trunk
>
> to work even if file:///var/svn/hello doesn't already exist. (CVS does
> this by default, FWIW)

Let's assume for the sake of discussion that you have file://var/svn,
but *not* hello. Perhaps we could change our import driver so that
the following syntax is allowed:

   svn import file:///var/svn what_to_import hello/trunk

As is, you can have just "trunk" on the end there, but if we allow
that final (optional) thing to have path separators, we can simply
build out the necessary dirs. This way, we don't have to do network
turnarounds to try to figure out just how much of that path is already
in existence.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 3 16:16:09 2002

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