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

Mercurial does not have built-in support for converting line-endings. This is a
settings file for hg eol (http://mercurial.selenic.com/wiki/EolExtension), 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 <sw_webster@hotmail.com>
This commit is contained in:
Stuart Webster 2011-11-19 10:02:23 +01:00 committed by Martin Sustrik
parent f8bd3967bf
commit a610b3d1b4
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
syntax: glob # for hg-git users
Makefile
Makefile.in
configure

2
.hgeol Normal file
View File

@ -0,0 +1,2 @@
[patterns]
** = native