[gdal-dev] OT: subversion configuration

Mateusz Loskot mateusz at loskot.net
Sat Jul 26 09:05:01 EDT 2008


Ari Jolma wrote:
> Mateusz Loskot kirjoitti:
>> Ari Jolma wrote:
>>> I'm annoyed because I can't configure subversion properly for my 
>>> local copy of GDAL repository.
>>> 
>>> I want to keep all files locally LF also in Windows. I've set
>>> 
>> 
>> In other words, if svn:eol-style was not set to LF for all .c, .cpp
>>  and .h files while they were being imported to the SVN, then the 
>> eol-style is by default set to native.
>> 
>> svn propset -R svn:eol-style LF *.h
>> 
> 
> Thanks Mateusz,
> 
> In the menu Tortoise adds into file managers in Windows, there is a 
> properties command, which opens a window of Property => Value data 
> (of the file I presume). The svn:eol-style seems to be native always.
>  I changed this to LF and the effect is just what I want. The file 
> comes back LF even if I delete it, i.e., the property is set also in 
> the server.

Ari,

OK, good for me I understood the problem.

> I assume I shouldn't set the property to LF for files which I don't 
> "own" (everything else than the Perl bindings)?

I don't know as I'm not maintaining the policy.
If in doubts, I believe it is a good idea to discuss it with others.


> Although I think the policy was to have the files in the repository
> to  be LF?

AFAIK, SVN internally stores files with LF, but it doesn't influence
what users see in their local copies.

Greetings
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the gdal-dev mailing list