[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-05-03 16:19:44 CEST

cmpilato@collab.net writes:

> 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.

Mmmmm, yeah, I like that better.

---------------------------------------------------------------------
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:24:15 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.