Hey guys,
I just wanted to build a new snapshot of Geany from SVN. For this, I'm usually going to svn export the current working copy from trunk into another directory (to be clean of .svn subdirs). This time I got a bit weird output I don't understand yet:
% LANG=C svn export geany geany-0.21 svn: Inconsistent line ending style
The exports seems to break and doesn't finish successfully. Is this something where I should search the reason locally in my SVN installation or is SVN that clever to know of the source code files of Geany?
(SVN rev is 5542)
Regards, Dominic
On 10 February 2011 12:01, Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys,
I just wanted to build a new snapshot of Geany from SVN. For this, I'm usually going to svn export the current working copy from trunk into another directory (to be clean of .svn subdirs). This time I got a bit weird output I don't understand yet:
% LANG=C svn export geany geany-0.21 svn: Inconsistent line ending style
Yeah, if Enrico muttered the right incantations over the repository SVN server will provide files with line endings appropriate to the client platform.
maybe try --native-eol CRLF (or whatever matches your platform)
Also maybe you have changes in your tree that are not line ending consistent.
Cheers Lex
The exports seems to break and doesn't finish successfully. Is this something where I should search the reason locally in my SVN installation or is SVN that clever to know of the source code files of Geany?
(SVN rev is 5542)
Regards, Dominic
-- Dominic Hopf dmaphy@googlemail.com http://dominichopf.de/
Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Am Donnerstag, den 10.02.2011, 12:43 +1100 schrieb Lex Trotman:
On 10 February 2011 12:01, Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys,
I just wanted to build a new snapshot of Geany from SVN. For this, I'm usually going to svn export the current working copy from trunk into another directory (to be clean of .svn subdirs). This time I got a bit weird output I don't understand yet:
% LANG=C svn export geany geany-0.21 svn: Inconsistent line ending style
Yeah, if Enrico muttered the right incantations over the repository SVN server will provide files with line endings appropriate to the client platform.
maybe try --native-eol CRLF (or whatever matches your platform)
Also maybe you have changes in your tree that are not line ending consistent.
A
svn export geany geany-0.21 --native-eol LF
did the job. Now exports don't abort anymore, even with leaving the --native-eol option again. Weird stuff. Thanks Lex.
On Thu, 10 Feb 2011 22:03:09 +0100, Dominic wrote:
Am Donnerstag, den 10.02.2011, 12:43 +1100 schrieb Lex Trotman:
On 10 February 2011 12:01, Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys,
I just wanted to build a new snapshot of Geany from SVN. For this, I'm usually going to svn export the current working copy from trunk into another directory (to be clean of .svn subdirs). This time I got a bit weird output I don't understand yet:
% LANG=C svn export geany geany-0.21 svn: Inconsistent line ending style
Yeah, if Enrico muttered the right incantations over the repository
I don't know if every single file has the eol-style SVN property set but at least most of the files should have it. There is a script at scripts/svn-add.sh which takes care about such SVN properties and few other things. We, at least me and Nick, always use this script to add new files to SVN.
Also maybe you have changes in your tree that are not line ending consistent.
I guess this is most likely. I just tried it with a clean checkout and the export works fine.
Regards, Enrico