Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Line endings.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Miguel de Icaza  
View profile  
 More options Aug 9 2009, 12:39 pm
From: Miguel de Icaza <miguel.de.ic...@gmail.com>
Date: Sun, 9 Aug 2009 09:39:38 -0700 (PDT)
Local: Sun, Aug 9 2009 12:39 pm
Subject: Line endings.
A problem that I am running into with using Mercurial's repository is
that I am getting files in Windows format (CR + LF) while Unix expects
LF.   The files are also not consistent internally, which means that
converting them back and forth still produces patches that are larger
than they should be.

I know that Subversion has an option to deal with this (svn:eol-style
native) that does the translation as the files are checked out, but I
have no idea how this is done in Mercurial.

Any ideas as to what to do with this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Noah  
View profile  
 More options Aug 10 2009, 8:44 am
From: Noah <noah.h...@gmail.com>
Date: Mon, 10 Aug 2009 05:44:52 -0700 (PDT)
Local: Mon, Aug 10 2009 8:44 am
Subject: Re: Line endings.
I will convert all line endings to LF and request that all checkins
are LF format;

It will be a massive patch set, but not sure if I would clear and
restart Mecurial with a new baseline.

Any suggestions?

On Aug 9, 9:39 am, Miguel de Icaza <miguel.de.ic...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Noah  
View profile  
 More options Aug 10 2009, 9:50 am
From: Noah <noah.h...@gmail.com>
Date: Mon, 10 Aug 2009 06:50:33 -0700 (PDT)
Local: Mon, Aug 10 2009 9:50 am
Subject: Re: Line endings.
New massive patch posted with LF changes and removal of memory
allocations

Add the following lines to Mercurial's control file hgrc

Please add the following lines to your hgrc file to prevent CRLF
checkins

[extensions]
hgext.win32text=

[hooks]
# Reject commits which would introduce windows-style text" files

pretxncommit.crlf = python:hgext.win32text.forbidcrlf


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »