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

Re: automatic properties

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-08-17 19:16:49 CEST

Garrett Rooney <rooneg@electricjellyfish.net> writes:

> cmpilato@collab.net wrote:
>
> > Martin Furter <mf@rola.ch> writes:
> >
> >>Hello
> >>
> >>I made a little patch which adds a new feature: automatic adding of
> >>properties when adding files.
> >>Attached is a patch for subversion/libsvn_client/add.c
> > Is this something you'd want to happen for 'svn import' as well?
> > Just
> > a thought...
>
> I'd say no, or at least provide a way to turn it off, as import
> commits things directly to the repository, with no opportunity to
> tweak the results. With add, you can always change the properties
> before you run the commit in case your defaults are not appropriate
> for this particular file/directory.

Garrett, keep in mind that 'svn import' *already* detects binary files
and sets svn:mime-type to application/x-octet-stream while
committing. That's why it sometimes prints "A (bin) foo.doc".

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 17 19:21:36 2003

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.