You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2006/08/01 19:24:30 UTC

Fwd: Subversion properties

Thanks Wendy for bringing this up;

'I'll do the same now for myfaces.

Guys!

The first thing to do is to fix your svn client configuration so that
it adds the properties when you commit new files.  See the ASF version
control page at [1] for more information, (or the Struts wiki [2]
which has some links to the Subversion manual.)

---------- Forwarded message ----------
From: Wendy Smoak <ws...@gmail.com>
Date: Jul 20, 2006 6:46 PM
Subject: Subversion properties
To: adffaces-dev@incubator.apache.org


Since it sounds like you're going to start the adf -> trinidad
renaming soon, I'd like to suggest fixing the svn:eol-style property
and the line endings on all the files first.

You may have seen some commit messages that show the entire file being
changed-- setting the eol-style property will stop that from
happening, and it will make the diffs from the renaming more
meaningful, not to mention smaller. :)

The first thing to do is to fix your svn client configuration so that
it adds the properties when you commit new files.  See the ASF version
control page at [1] for more information, (or the Struts wiki [2]
which has some links to the Subversion manual.)

Then you can fix existing files with (for example):
$ find . -name *.java       -exec svn propset svn:eol-style native {} \;

Obviously, that needs to be done for *.xml, *.txt, *.properties, etc.

Unfortunately, the adffaces repo has many, many files with
inconsistent newlines, and that will have to be corrected before 'svn
propset' will work.  (I usually open and save the file in JEdit, but
any text editor that can be set to use a specific line-ending style
will work.)

[1] http://www.apache.org/dev/version-control.html#https-svn
[2] http://wiki.apache.org/struts/StrutsMaintenanceSvn

Thanks,
--
Wendy


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com