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

Re: '--make-parents' for 'svn add'

From: Martin Furter <mf_at_rola.ch>
Date: 2007-05-11 23:09:43 CEST

On Fri, 11 May 2007, Hyrum K. Wright wrote:

> So, after adding '--make-parents' support for mkdir, copy and move, I
> though up another possible use. 'svn add' could be augmented to support
> this functionality as well. If asked, the client would recurse up the
> directory tree looking for a working copy, and then back down to the
> target, adding directories to that working copy as it goes.
>
> Is this functionality actually useful? The scenario I envision is
> somebody (or some tool) creating a large tree structure, and then a user
> just wanted to add a single file without having to figure out which
> directories need to be added as well.
>
> Thoughts?

Can also be useful when versioning $HOME or /etc or any other existing
directory structure when only parts should be versioned, for example:
svn add --make-parents ~/.ut2004/System/UT2004.ini
svn add --make-parents /etc/X11/xorg.conf

I like the idea :)

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 11 23:09:58 2007

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.