[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-05-14 01:51:51 CEST

Martin Furter wrote:
>
>
> 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 :)

I was +0 until reading this specific example, which I've lived through
multiple times in the past few years already. +1.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 14 01:52:01 2007

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