Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Line-ending conversion rules for hg-git users and enabled use of .git…

…ignore by hg-git users

Mercurial does not have built-in support for converting line-endings. This is a
settings file for hg eol (, an
extension that replicates the behaviour of git with core.autocrlf=true.

Mercurial uses Python regex syntax by default in its .hgignore files. Adding
this line to .gitignore overrides that setting, so hg-git users can just create
a hardlink to it (e.g "mklink /H .hgignore .gitignore" on Windows) to use it.

Signed-off-by: Stuart Webster <>
  • Loading branch information...
commit a610b3d1b4d975bbffc74604aa43f793dfd3f301 1 parent f8bd396
@swebster swebster authored sustrik committed
Showing with 3 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +2 −0  .hgeol
1  .gitignore
@@ -1,3 +1,4 @@
+syntax: glob # for hg-git users
2  .hgeol
@@ -0,0 +1,2 @@
+** = native
Please sign in to comment.
Something went wrong with that request. Please try again.