[python-win32] adodbapi and .hgeol

Vernon D. Cole vernondcole at gmail.com
Fri Jun 14 11:00:35 CEST 2013


I found the following on [pywin32-checkins] this morning:

diff -r 4ded0a838f8c -r 1594b8c27383 .hgeol
> --- a/.hgeol    Mon Apr 29 10:01:40 2013 -0400
> +++ b/.hgeol    Thu Jun 13 18:29:09 2013 +1000
> @@ -2,4 +2,8 @@
> **.dsp = CRLF
> **.dsw = CRLF
> **.vbp = CRLF
> +# adodbapi appears to have been checked in with windows line endings
> +# and without the 'eol' extension enabled, so we say it's binary to stop
> +# hg continually thinking it has changed.
> +path:adodbapi = bin
> ** = native
> diff -r 4ded0a838f8c -r 1594b8c27383 CHANGES.txt
> --- a/CHANGES.txt    Mon Apr 29 10:01:40 2013 -0400
> +++ b/CHANGES.txt    Thu Jun 13 18:29:09 2013 +1000


No matter how old you get (I just turned 63) you still have new things to
learn. Until today, I have been completely unaware of an .hgeol file.

Since adodbapi now also runs on Linux, I had better make sure the line
endings stay right. Python does not care, nor does the Pythonwin IDE
editor, but I have not been consistant about what editor I use, which may
be the cause of this problem.

My quick reading of the documentation for .hgeol leads me to believe that
setting the entire adodbapi path to =bin is not the correct way to handle
this.  I will adapt my other mercurial repository to match this -- but I
want to do it right this time.  What line ending style are my Python and
.txt files supposed to have?  I will adapt my source.
--
Vernon Cole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20130614/2b3e186a/attachment.html>


More information about the python-win32 mailing list