[e-lang] Decision needed: Repository newline choice
Kevin Reid
kpreid at mac.com
Tue Jan 2 17:40:08 CST 2007
On Jan 2, 2007, at 15:59, Mark Miller wrote:
> For text files specifically, telling Subversion to use platform
> newlines would be fine. How does Subversion know what is and isn't a
> text file?
Subversion only alters the line endings of files with svn:eol-style
properties set; therefore we set that property only on text files.
For setting this property on newly created files (which you or your
client must do), see:
<http://svnbook.red-bean.com/en/1.2/
svn.advanced.props.html#svn.advanced.props.auto>
<http://svnbook.red-bean.com/en/1.2/
svn.advanced.html#svn.advanced.confarea.opts.config>
I generated a list of every filename suffix in the source tree, and
looked through them. I didn't find any that I was sufficiently
uncertain about not to proceed, so I applied svn:eol-style native to
every file with one of the below suffixes, and "Makefile"s. Any text
files with other names have not been examined.
I also found inconsistent newlines in src/report-updoc-*.txt and jsrc/
org/erights/e/elang/syntax/antlr/, and normalized them.
(BTW, the report-* files look autogenerated, and they contain paths
specific to your system; these suggest that they really ought to be
not in the repository.)
Before committing, I tried the repl, and ran updoc on src/esrc/
scripts/test/.
no-newline-bug.updoc failed. Since I have no idea how or whether the
source newline changes affected this, I'll leave it to you to debug
that.
Suffixes of files I applied svn:eol-style to:
bash
bat
bot
c
cap
cap-account
cap-acct
cap-acctboss
cap-kiosk
cap-kioskboss
cap-ss
cap-ssboss
caplet
cpp
e
e-awt
e-swt
el
emaker
g
grammar
h
htm
html
in
java
json
mk
safej
sash
schema
sh
txt
updoc
y
This is all of the suffixes my query found:
2
a
bash
bat
bot
c
cap
cap-account
cap-acct
cap-acctboss
cap-kiosk
cap-kioskboss
cap-ss
cap-ssboss
caplet
cpp
data
dll
e
e-awt
e-swt
el
emaker
g
gif
grammar
h
htm
html
ico
in
jar
java
jnilib
jpg
json
mk
png
safej
sash
schema
sh
sl
so
tmp
tmproj
txt
updoc
y
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list