[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 15:59:06 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)

You're aware that 'svn import' already has the ability to create a
single directory that doesn't yet exist, if you give it a 3rd arg?
Obviously, though, this isn't the 'mkdir -p' behavior you're talking
about. I guess right now you just have to do a lot of 'svn mkdir
URL' commands before importing.

If CVS does this by default, then I guess maybe we should too....?

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:02:23 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.