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

Re: Easy way to dynamically create dir structure on server side copy?

From: Michael March <mmarch_at_gmail.com>
Date: 2006-08-23 21:54:30 CEST

> > I am sure there is a VERY obvious answer to this but..
> >
> > If I am doing a server side copy:
> >
> > svn cp http://server.net/svn/repo/myproject/dev/code/trunk \
> > http://server.net/svn/repo/toclient/release4/subdir1/subdir2/myproject
> >
> > .. and if 'subdir1/subdir2' don't already exist.. is there an easy way
> > to have the copy command create those missing dirs on-the-fly?
> >
> > thanks!

> The only answer I've found is "no" :-/ I end up manually creating the
> directory structure beforehand in separate commits.

Arg..

So can you create dirs 'server side' then?

The only way I can think to make directories on the 'server side'
without doing a 'checkout' is to make the new dirs locally and then
do an 'import'..

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 23 21:56:28 2006

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