Andre Colomb wrote on Mon, Aug 27, 2012 at 14:26:17 +0200:
> Hi list!
> 
> I couldn't find any information about this in the Subversion book or the
> built-in documentation.
> 
> What is the EOL encoding of text files spit out by the svn cat command?
> Does it depend on the svn:eol-style property?
> 
I expect it will be the local EOL style if the property is set to
"native", the specified style if it's set to LF/CR/CRLF, and
byte-for-byte reproduction otherwise.

I also note that 'export' has a --native-eol option.  So you could use
'svn export $URL/to/file', or maybe teach that option to the 'svn cat'
command.

> I'm trying to improve the contributed psvn.el mode and need to figure
> out how to get rid of extra ^M characters at the end of every line when
> checking out an older revision (which uses svn cat internally) and
> comparing it with the working copy.
> 

svn diff -x--ignore-eol-style
?

> Thanks in advance and kind regards,
> André
> -- 
> Greetings...
> From: Andre Colomb <acol...@schickhardt.org>
> 


Reply via email to