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

Re: Minor annoyance in svn add

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-10-25 21:09:18 CEST

--- "Kirby C. Bohling" <kbohling@birddog.com> wrote:
> Just an idea. Add the equivilent of mkdir
> -p,--parents, which means if
> there is a component of this path which you must add
> first, add it, then
> add the subcomponent all the way down. Maybe
> --add-parents instead of
> --parents. If svn prints an error for adding
> something that is already
> added that might be an issue, but possibly
> supressing it when --parents
> would work. I always use this when I'm scripting up
> the creation of a
> path, because it's easier then ensuring the entire
> path exists. I
> suppose it might be slower then the other way.
> However, your solving
> the problem more directly which appeals to me.

I like this "think outside of the box" suggestion --
get rid of the problem altogether (I prefer --parents
over --add-parents, BTW). OTOH, I would also like a
belt-and-suspenders approach in which "svn add" should
work as expected regardless of the order of the
arguments.

Noel

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 25 21:10: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.