<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: mercurial needs better end-of-line support</title>
	<link>http://trentm.com/blog/archives/2007/09/13/mercurial-needs-better-end-of-line-support/</link>
	<description></description>
	<pubDate>Wed, 15 Oct 2008 23:17:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Jason</title>
		<link>http://trentm.com/blog/archives/2007/09/13/mercurial-needs-better-end-of-line-support/#comment-1828</link>
		<author>Jason</author>
		<pubDate>Fri, 14 Sep 2007 20:57:23 +0000</pubDate>
		<guid>http://trentm.com/blog/archives/2007/09/13/mercurial-needs-better-end-of-line-support/#comment-1828</guid>
		<description>I've been working in various hg.mozilla.org repositories for a few months.  No conversion is attempted, and there's no pretxncommit hook or anything like that.  As a matter of policy, all Mozilla code has Unix-style newlines.

Works for us... but yes, you'll probably have to think harder about it than we have.  :(</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been working in various hg.mozilla.org repositories for a few months.  No conversion is attempted, and there&#8217;s no pretxncommit hook or anything like that.  As a matter of policy, all Mozilla code has Unix-style newlines.</p>
<p>Works for us&#8230; but yes, you&#8217;ll probably have to think harder about it than we have.  :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trentm</title>
		<link>http://trentm.com/blog/archives/2007/09/13/mercurial-needs-better-end-of-line-support/#comment-1817</link>
		<author>trentm</author>
		<pubDate>Fri, 14 Sep 2007 02:54:24 +0000</pubDate>
		<guid>http://trentm.com/blog/archives/2007/09/13/mercurial-needs-better-end-of-line-support/#comment-1817</guid>
		<description>Thanks, Eli. Fair enough. The world would be a better place if \r\n went away everywhere. In general all the work I do (and we do at ActiveState) is with tools that support \n on Windows. I suppose I should look into a pre-commit hook for hg that warns or errors out about new files on Windows that have \r\n EOLs -- because I know that it will come up in Komodo development (the main project I work on with multiple devs).</description>
		<content:encoded><![CDATA[<p>Thanks, Eli. Fair enough. The world would be a better place if \r\n went away everywhere. In general all the work I do (and we do at ActiveState) is with tools that support \n on Windows. I suppose I should look into a pre-commit hook for hg that warns or errors out about new files on Windows that have \r\n EOLs &#8212; because I know that it will come up in Komodo development (the main project I work on with multiple devs).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli Friedman</title>
		<link>http://trentm.com/blog/archives/2007/09/13/mercurial-needs-better-end-of-line-support/#comment-1816</link>
		<author>Eli Friedman</author>
		<pubDate>Fri, 14 Sep 2007 02:05:48 +0000</pubDate>
		<guid>http://trentm.com/blog/archives/2007/09/13/mercurial-needs-better-end-of-line-support/#comment-1816</guid>
		<description>For Mozilla code, Unix line endings are mandatory on all platforms.  Some versions of CVS support line ending conversion, but I don't think most Mozilla coders use it; the standard Mozilla build enviornment for Windows (MozillaBuild) defaults to checking out using Unix line endings, and even before that, the suggested setup was to have cygwin set to Unix line endings.  I'm assuming this will continue through the hg conversion.  It's not really a big deal, though; I just use an editor that supports Unix line endings.</description>
		<content:encoded><![CDATA[<p>For Mozilla code, Unix line endings are mandatory on all platforms.  Some versions of CVS support line ending conversion, but I don&#8217;t think most Mozilla coders use it; the standard Mozilla build enviornment for Windows (MozillaBuild) defaults to checking out using Unix line endings, and even before that, the suggested setup was to have cygwin set to Unix line endings.  I&#8217;m assuming this will continue through the hg conversion.  It&#8217;s not really a big deal, though; I just use an editor that supports Unix line endings.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
