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

Automatically adding new files in a folder (Re: versioning MacOS X bundle)

From: Eric Gorr <mailist_at_ericgorr.net>
Date: 2005-06-10 18:40:09 CEST

Proniewski Patrick wrote:
> Hello
>
> On 10 juin 05, at 10:59, Mathieu Betrancourt wrote:
>
>> If you add, or delete contents in the document (like pictures), the
>> application will add, or remove files into the bundle.
>>
>> Is there a (simple) way to make svn follow every changes in a folder ?
>
>
> Damn, I haven't seen this one coming. As i see it, you might want to
> create a wrapper (shell script for example) for svn command, that would
> check for bundles, and automagically `svn add` or `svn delete` files
> before commit.

Well, it would seem useful for the svn client application to handle this
itself at some point in the future. Perhaps a property stored with the
folder containing versioned resources. The property would basically tell
the svn client that it should check to see if there are any files in the
folder (or it's subfolders) which aren't versioned and to automatically
add them if any are found. Of course, one should be allowed to exclude
files or subfolders based on regular expression patterns from this check.

I have a feeling, considering that Bundles are such a good idea, that
other OSs will adopt them for documents as well. (Windows has them for
applications...I suspect bundled documents on Windows will come with
Longhorn.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 10 18:42:18 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.