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

Re: cr, lf on merge ... implement or use gnu diff option?

From: Mark Therieau <mtherieau_at_attbi.com>
Date: 2002-11-14 02:01:32 CET

13 Nov 2002 17:43:09 -0600, Ben Collins-Sussman <sussman@collab.net> wrote:
>We don't have server-side configuration yet. So for now, you need to
>do two things:
>
> 1. set the 'svn:mime-type' property to "native" on every single
> text file in your project:
>
> find . -name *.c | xargs svn propset svn:mime-type native
>
> 2. make a company policy of setting this property whenever you add
> a new file to version control. (i.e. after you 'svn add'
> something.)
>
>Sorry it's not more automated yet.

(2) sounds fairly error-prone, but not sure that a server-side config is
even needed to solve this. Wasn't there a property-inheritance
scheme discussed recently? (maybe it was an enhancement request)

With the inheritance scheme:
  1. set the 'svn:eol-style' property to "native" on every single
      text file ***and every directory*** in your project:
  2. 'svn add some_text_file some_directory' would copy the
       containing directory's svn:eol-style property to some_text_file
       and some_directory

- Extending the scheme to svn import is (possibly) straightforward

- 'svn:eol-style' on a directory? sounds weird. It could be changed
to 'svn:bequeath-eol-style' or some such stuff, in order to make
the inheritance purpose explicit.

regards,
markt

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 14 02:17:44 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.