> -----Oprindelig meddelelse-----
> Fra: Erik Huelsmann [mailto:e.huelsmann@gmx.net]
> Sendt: 10. januar 2004 19:42
> Til: Casper Hornstrup
> Cc: dev@subversion.tigris.org; users@subversion.tigris.org
> Emne: Re: Default eol styles
>
>
> [ snip proposal for new property ]
>
> Casper,
>
> I'm sorry to snip your complete proposal, but did you look at
> the configuration file of recent Subversion versions? On
> Windows it's located in %APPDATA%\Subversion\config (Windows
> guru's: did I specify this correctly?). For my useraccount
> it's at c:\Documents and Settings\Erik\Application
> Data\Subversion\config.
>
> In the [auto-props] section you can define behaviour which
> does almost what you want in sofar that it is the same, but
> client-side. I donīt know whether TortoiseSVN or RapidSVN
> actually use that file, but if they use (and I believe they
> do) the libsvn_client library to take care of Subversion
> interaction they can provide the same functionality. That
> library has this functionality built into it, so that any
> client (be it on Windows or Unix) just has to supply these settings.
>
> Hope that helps.
>
> bye,
>
> Erik.
I'm trying the auto-props feature. I'm using the command line
client. My config file has:
[miscellany]
enable-auto-props = yes
[auto-props]
configure = svn:eol-style=LF
* = svn:eol-style=native
I'm trying to have files default to svn:eol-style=native,
except for files named configure which should have
svn:eol-style=LF. I import two files of which one is named
configure. They both get svn:eol-style=native. I try to
reverse it:
[auto-props]
* = svn:eol-style=native
configure = svn:eol-style=LF
and import again, but they still both get svn:eol-style=native.
How can I set a default svn:eol-style for new files and still
have rules for other files?
Casper
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 11 12:36:18 2004