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

[TSVN] problems with the Config file -> setting EOL:style

From: Peter Vandersteegen <Peter.Vandersteegen_at_intec.Ugent.be>
Date: 2004-12-17 10:41:35 CET

Hello all,

Recently I've created the configuration file Config under c:\documents and
settings\$username$\Application Data\Subversion\
-> This is a windows 2000 pro environment with tortoiseSVN 1.1.1

TortoiseSVN does not seem to follow the settings defined in this file
Can anybody tell me what went wrong?

Ok, a more detailed description of the problem is the following:
I work in a team with both windows as linux people. Some people in this
group have problems with CRLF (end-of-line markers in a windows environment
are different from eol markers in a linux environment)

This EOL-problem can be solved by setting the configuration-file "Config"
as described in the manual.
Another interesting blog can be found on:

My problem is that tortoiseSVN does not seem to use the settings in my
configuration file.

Under Linux the EOL-problem can be solved by adjusting an already existing
Config file (in linux -> /home/$username$/.subversion/Config)

In this file I made the following lines:
        enable-auto-props = yes
        *.txt = svn:eol-style=native

In this case every NEW .txt file should use the EOL markers specific to its
own platform.

In tortoise I went to 'right mouse click' -> tortoise -> settings ->
main-tab -> 'subversion configuration file' edit
In my windows 2000 environment this file did NOT yet EXISTED so I created
         c:\documents and settings\$username$\Application Data\Subversion\Config
I used the same configuration lines as defined above.
btw: is this configuration file not normally created under windows? If
not, it would be handy if it would.

Now I did the following test:
* create a file "dummy.txt" in windows with e.g. notepad ->
* commit it
* check it out in linux
* opened with emacs
-> I still see those annoying ^m

My first guess was that my Config file was not read by tortoiseSVN
To test this I did put some nonsense-line in the Config -file -> My
tortoiseSVN however gave a fault he could not interpret the configuration
file. I therefore conclude tortoiseSVN indeed does read this file. It
only chooses to ignore the settings defined in this configuration file :)

Can anybody please give some advice what went wrong?
Is this specific to win2000?
Are there 'hidden' variables in the registry that have higher 'priority'
than the ones defined in the Config-file?

thank you for reading so far


ps. thank you for putting effort in developing such a handy tool as tortoiseSVN

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 17 10:44:14 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.