C. Michael Pilato wrote:
> 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.
>> 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.
It seems like the response it positive; I'll go ahead an add it. I'm
also going to change the switch from '--make-parents' to simply
'--parents'. This is more consistent with traditional *nix commands,
and in the case of 'svn add', we aren't making any parents at all, just
adding them to the repository.
Received on Mon May 14 17:04:08 2007