You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Niall Pemberton <ni...@blueyonder.co.uk> on 2005/03/30 21:51:02 UTC

SVN Properties

I just committed a change to project.xml in the taglibs project and because
of line endings, it looks like the whole file was modified :-(

http://www.mail-archive.com/dev%40struts.apache.org/msg07984.html

Looks like alot of the newer files added since the SVN conversion have not
had their SVN properties properly set. Setting the svn:eol-style property to
native avoids the above problem. I just modified a few of the files in
taglibs to add this property....

http://www.mail-archive.com/dev%40struts.apache.org/msg07984.html

but it looks like this is quite wide spread - anyone know of a way to do
this without generating these amounts of changes?

If people configure the [auto-props] in their SVN client then it will
automatically add SVN properties when something new is added to SVN -
otherwise it means remembering to manually set the properties on every new
element. I set up this page on the wiki a while ago with some info on this:

http://wiki.apache.org/struts/StrutsMaintenanceSvn

My [auto-props] section looks like this....

[auto-props]
*.java = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
*.xml = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
*.txt = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL


Niall



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


Re: SVN Properties

Posted by Martin Cooper <mf...@gmail.com>.
On Wed, 30 Mar 2005 20:51:02 +0100, Niall Pemberton
<ni...@blueyonder.co.uk> wrote:
> I just committed a change to project.xml in the taglibs project and because
> of line endings, it looks like the whole file was modified :-(
> 
> http://www.mail-archive.com/dev%40struts.apache.org/msg07984.html
> 
> Looks like alot of the newer files added since the SVN conversion have not
> had their SVN properties properly set. Setting the svn:eol-style property to
> native avoids the above problem. I just modified a few of the files in
> taglibs to add this property....
> 
> http://www.mail-archive.com/dev%40struts.apache.org/msg07984.html
> 
> but it looks like this is quite wide spread - anyone know of a way to do
> this without generating these amounts of changes?
> 
> If people configure the [auto-props] in their SVN client then it will
> automatically add SVN properties when something new is added to SVN -
> otherwise it means remembering to manually set the properties on every new
> element. I set up this page on the wiki a while ago with some info on this:
> 
> http://wiki.apache.org/struts/StrutsMaintenanceSvn
> 
> My [auto-props] section looks like this....
> 
> [auto-props]
> *.java = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
> *.xml = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
> *.txt = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL

Thanks. I just pasted your auto-props into mine. ;-) I also added
entries for .xsl, .dtd and .properties.

--
Martin Cooper


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

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