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

Re: property import/export

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2002-07-23 10:34:24 CEST

On Tue, Jul 23, 2002 at 03:10:37AM -0500, Eric Gillespie wrote:
> David Waite <mass@akuma.org> writes:
> > a) It would be rather nice to be able to specify a file containing
> > ignore patterns when doing a 'svn import'. The difference between this
> > file and the svn:ignore property would be indicating ignore instructions
> > for subdirectories.
> I was thinking about requesting cvs's -I option for similar reasons.
> Would that satisfy your need? I'm not fond of the idea of ignored
> files being specified in both a file and a property...

I don't think David meant that the ignored files-in-a-file would
persist once the initial import was complete, simply that they'd be
read and used to direct file exclusion and property setting during the

I had in mind a more general-purpose mechanism, something like the
.svn/dir-props and .svn/props/<filename> files, but with a simple XML
format, something like this:

<svn:property key="svn:ignore">build</svn:property>

with appropriate extensions if properties need to have MIME types or
binary encodings or similar. These XML-formatted property-import
files would be named <filename>.svnprops, read and automatically
assigned to the corresponding <filename> on import. After the initial
import, the .svnprops files would be discarded.

Support for specifiying svn:ignore (and no other properties) on import
would resolve my immediate annoyance, however. I don't like the -I
syntax because you have to provide it every time you do an import, and
it's a property of the import, rather than the tree you're importing,
so if you have a gigantic tree with lots of per-directory exclusions
you'll wind up with a gigantic command line.

=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 23 10:34:52 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.