Unexpected- error: pretxncommit.eol hook failed: end-of-line check failed:
Ernie Rael
err at raelity.com
Thu Apr 16 20:53:03 UTC 2015
Hi all,
Is this expected? I thought the "look for nulls" algorithm was liberally
applied...
-ernie
$ hg --version
Mercurial Distributed SCM (version 3.3.2)
$ hg ci
error: pretxncommit.eol hook failed: end-of-line check failed:
.../ScenicView.jar in 00f2468dd899 should not have CRLF line endings
$ od -c
metaphysical.workbench/ScenicView/release/modules/ext/ScenicView.jar |head
0000000 P K 003 004 \n \0 \0 \b \b \0 264 205 = E \0 \0
0000020 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \t \0 \0 \0 M E
0000040 T A - I N F / 003 \0 P K 003 004 \n \0 \0
0000060 \b \b \0 264 205 = E w ' 211 r j \0 \0 \0 235
0000100 \0 \0 \0 024 \0 \0 \0 M E T A - I N F /
0000120 M A N I F E S T . M F 215 214 275 \n 203
$ cat .hgeol
[patterns]
** = native
=== from ~/.hgrc
[eol]
native = LF
only-consistent = False
[hooks]
pretxncommit.eol = python:hgext.eol.checkheadshook
More information about the Mercurial
mailing list