You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@apache.org> on 2006/07/26 12:35:19 UTC

[HOWTO] TortoiseSVN config

Hi all,

Here is the config that IMHO each committer using
TortoiseSVN should set up.
It will resolve the things that were needed to be done for
the TC6 because they were added to the svn repo without
proper default properties.

So:
1. Right click on any Windows folder
2. Select TortoiseSVN->Setting
3. Click on the 'Edit' for Subversion configuration file

Inside Notepad find the [auto-props] section, and paste the
following instead the current one:


### Section for configuring automatic properties.
[auto-props]
### The format of the entries is:
###   file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?').  All entries which match will be applied to the file.
### Note that auto-props functionality must be enabled, which
### is typically done by setting the 'enable-auto-props' option.
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
*.h = svn:eol-style=native
*.dsp = svn:eol-style=native
*.dsw = svn:eol-style=native
*.sh = svn:eol-style=native;svn:executable
*.bat = svn:eol-style=native;svn:executable
*.txt = svn:eol-style=native
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
*.gif = svn:mime-type=image/gif
*.java = svn:eol-style=native
*.xml = svn:eol-style=native
*.xsl = svn:eol-style=native
*.xsd = svn:eol-style=native
*.html = svn:eol-style=native
*.jsp = svn:eol-style=native
*.properties = svn:eol-style=native
Makefile = svn:eol-style=native
README = svn:eol-style=native




Regards,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [HOWTO] TortoiseSVN config

Posted by Mark Thomas <ma...@apache.org>.
Mladen Turk wrote:
> Mark Thomas wrote:
>>>>
>>>> Here is the config that IMHO each committer using
>>>> TortoiseSVN should set up.
>>
>> There is already an Apache wide recommendation that would appear to be
>> more comprehensive.
>>
>> http://www.apache.org/dev/svn-eol-style.txt
>>
> 
> Great!
> I just wish something like that were mentioned
> inside http://www.apache.org/dev/version-control.html

It is. That is where I found it when I first set up subversion. Search
for the section entitled "Committer Subversion Access" on that page.
The link is towards the end of that section.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [HOWTO] TortoiseSVN config

Posted by Mladen Turk <mt...@apache.org>.
Mark Thomas wrote:
>>>
>>> Here is the config that IMHO each committer using
>>> TortoiseSVN should set up.
> 
> There is already an Apache wide recommendation that would appear to be
> more comprehensive.
> 
> http://www.apache.org/dev/svn-eol-style.txt
>

Great!
I just wish something like that were mentioned
inside http://www.apache.org/dev/version-control.html

BTW, is there any link for that file?

Regards,
Mladen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [HOWTO] TortoiseSVN config

Posted by Mark Thomas <ma...@apache.org>.
Mladen Turk wrote:
> Mladen Turk wrote:
>> Hi all,
>>
>> Here is the config that IMHO each committer using
>> TortoiseSVN should set up.

There is already an Apache wide recommendation that would appear to be
more comprehensive.

http://www.apache.org/dev/svn-eol-style.txt

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [HOWTO] TortoiseSVN config

Posted by Mladen Turk <mt...@apache.org>.
Mladen Turk wrote:
> Hi all,
> 
> Here is the config that IMHO each committer using
> TortoiseSVN should set up.
> It will resolve the things that were needed to be done for
> the TC6 because they were added to the svn repo without
> proper default properties.
> 
> So:
> 1. Right click on any Windows folder
> 2. Select TortoiseSVN->Setting
> 3. Click on the 'Edit' for Subversion configuration file
> 
> Inside Notepad find the [auto-props] section, and paste the
> following instead the current one:
>

Sorry, you will also need to uncomment the line:
enable-auto-props = yes

Regards,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org