[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-25 21:03:56 CEST

"Kirby C. Bohling" <kbohling@birddog.com> writes:

> > I think the general solution is to call svn_path_get_absolute and then
> > sort using svn_path_is_child. A bit like svn_path_condense_targets.
>
> 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.

It's been suggested that svn mkdir should have such an option. It's
probably not correct to do it by default, either for mkdir or add,
since if you mistype a name you should probably get an error. If you
have to specify an option to get the behaviour then it doesn't solve
the problem that 'svn add foo/bar foo' fails; I'm happy leaving add
as it is and saying the failure is due to user error.

-- 
Philip Martin
---------------------------------------------------------------------
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:05:16 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.