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

Re: Question about branching and repository layout

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-10-10 18:11:56 CEST

"Craig L. Ching" <cching@mqsoftware.com> writes:

> Well, I guess that works too, but I think I like my layout better
> and therefore would probably use the two-step process (mkdir and
> then copy) instead. I'm sure I'm being naive, but what about the
> possibility of just creating the necessary structure on the copy to
> support the layout that the user requests? Import does this, maybe
> copy could too? And, yes, I know it isn't what cp would do either,
> just throwing my suggestion out there ;-). Thanks for your time!

The 'svn cp' command behaves just like the unix 'cp' command. People
have criticized this, because they think 'svn cp' should give warnings
about the target already existing. But I don't remember anyone ever
complaining about the command not auto-creating directories.

It sounds like what you really want is '-p' switch to the copy
command, which would behave like 'mkdir -p' on Unix.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 10 18:14:15 2003

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.