[kepler-dev] svn properties in tagging

Christopher Brooks cxh at eecs.berkeley.edu
Tue Apr 13 17:49:35 PDT 2010


Hi Dan,
It looks like svn properties are not set in the tagging
repository.

To fix this, do
  cd kepler/tagging/src
  find . -name "*.java" > /tmp/tj
  cat /tmp/tj | xargs svn propset svn:eol-style native
  cat /tmp/tj | xargs svn propset svn:keywords "Author Date Id Revision"
  svn commit -m "Added svn properties"

The reason this is important is because otherwise, if anyone
is working on Windows, then the file will have different end of
line characters than for Mac Users.

Updating the keywords means that $Id$ will get updated to reflect
the most recent version of the file.

It could be that someone's ~/.subversion/config file is not
configure properly.  In the default, all files are checked in
as binaries.  If config is update to include file extensions such
as .java, then the keywords and eol-style will be properly set.
In the case of
tagging/src/ptolemy/vergil/basic/BasicGraphController.java
it looks like maybe Sean Riddle's configuration might need
updating.

See
http://chess.eecs.berkeley.edu/ptexternal/wiki/Main/Subversion#KeywordSubstitution

_Christopher


-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670


More information about the Kepler-dev mailing list