diff options
author | Stuart Webster <sw_webster@hotmail.com> | 2011-11-19 10:02:23 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-11-19 10:02:23 +0100 |
commit | a610b3d1b4d975bbffc74604aa43f793dfd3f301 (patch) | |
tree | 28b657db657f2d2cef6ee975a18e0255446089af | |
parent | f8bd3967bfe305c22b6e08f3e6555b2162609328 (diff) |
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>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .hgeol | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,4 @@ +syntax: glob # for hg-git users Makefile Makefile.in configure @@ -0,0 +1,2 @@ +[patterns] +** = native |