Add initial .hgignore and .hgeol files to the SVG 2 repository. r=WG.
authorJonathan Watt <jwatt@mozilla.com>
Thu, 28 Jul 2011 16:19:05 +0100
changeset 0 7ca8f1950679
child 1 cbc4f3f708e9
Add initial .hgignore and .hgeol files to the SVG 2 repository. r=WG.
.hgeol
.hgignore
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgeol	Thu Jul 28 16:19:05 2011 +0100
@@ -0,0 +1,143 @@
+
+
+
+# This file is used by the 'eol' extension. The eol extension helps prevent
+# users from checking in changes where they inadvertently change the line
+# endings of a file (and thereby trash the diff and hg blame/annotate). It
+# also lets users work with files using their OS's native line endings.
+#
+# IMPORTANT: each user of this repository must enable the eol extension before
+# they make and commit any changes (unless they /really/ know what they're
+# doing)! Failure to enable the extension may mean that your changes will
+# contain the wrong line endings, in which case the central repository will
+# block your pushes until you manually fix the line endings in your changesets.
+# Read the section on enabling the extension here (and pay attention to its
+# "IMPORTANT" subsection):
+#
+#   http://mercurial.selenic.com/wiki/EolExtension
+
+
+
+
+
+
+#               !!!! WARNING! WARNING! WATCH OUT! !!!!
+#
+# DO NOT CHANGE THIS FILE UNTIL YOU HAVE READ AND UNDERSTOOD THE "IMPORTANT"
+# SUBSECTIONS IN THE SECTION ABOUT CHANGING A ".hgeol" FILE ON THE PAGE:
+#
+#   http://mercurial.selenic.com/wiki/EolExtension
+#
+# Changing this file can cause "unexpected" changes to appear for files that
+# you DID NOT TOUCH. That's probably okay, but pushing your changes to /this/
+# file without first resolving any such "unexpected" changes is definitely NOT.
+# Doing so will cause those "unexpected" changes to appear in other users'
+# working directories as UNCOMMITTED(!!) changes, which will really confuse and
+# annoy them! Read the appropriate IMPORTANT sections on the page linked above
+# and this will all make sense!
+
+
+
+
+
+
+[repository]
+
+# Repository's native EOL type:
+
+native = LF
+
+[eol]
+
+# TODO: this doesn't seem to have any affect here, so users probably need to
+# add this to their own Mercurial config.
+#
+# Tell the eol extension to do its thing on files matching patterns of type
+# 'native' even if they contain inconsistent line endings. (Any files that
+# intentionally contain a mixture of line ending characters should be marked
+# as 'BIN' (not 'native') to tell the eol extension to leave them alone.)
+
+only-consistent = False
+
+[patterns]
+
+# For documentation on pattern formats see 'hg help patterns' or
+# http://www.selenic.com/mercurial/hg.1.html#file-name-patterns
+
+# For documentation on the meaning of 'native', 'LF', 'CRLF' and 'BIN' see
+# http://mercurial.selenic.com/wiki/EolExtension
+
+# Text files:
+
+**.bak = native
+**.bat = native
+.blacklist-rev = native
+.blacklist-user = native
+**.conf = native
+**.css = native
+**.cvsignore = native
+**.dat = native
+**.dtd = native
+**.es = native
+.hgeol = native
+**.htaccess = native
+**.htm = native
+**.html = native
+**.idd = native
+**.idl = native
+**.idlx = native
+**.inc = native
+**.inc = native
+**.java = native
+**.js = native
+**.mk = native
+**.mk = native
+**.mml = native
+**.mod = native
+**.nvdl = native
+**.pl = native
+**.pm = native
+**.py = native
+**.readme = native
+**.rng = native
+**.sh = native
+**.smil = native
+**.svg = native
+**.txt = native
+**.xht = native
+**.xhtml = native
+**.xml = native
+**.xsl = native
+**.xslt = native
+**/rng/** = native
+**ChangeLog = native
+**LICENSE = native
+**Makefile = LF
+**NOTICE = native
+**README = native
+hgrc = native
+**manifest = native
+
+# Binary files:
+
+**.3gp = BIN
+**.avi = BIN
+**.class = BIN
+**.exe = BIN
+**.gif = BIN
+**.gz = BIN
+**.icc = BIN
+**.icm = BIN
+**.jar = BIN
+**.jpg = BIN
+**.mov = BIN
+**.ogg = BIN
+**.pdf = BIN
+**.png = BIN
+**.ppm = BIN
+**.svgz = BIN
+**.ttf = BIN
+**.wav = BIN
+**.woff = BIN
+**.xls = BIN
+**.zip = BIN
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Thu Jul 28 16:19:05 2011 +0100
@@ -0,0 +1,13 @@
+
+# By default, hg will ignore any files matching the patterns below.
+# See http://www.selenic.com/mercurial/hgignore.5.html
+
+^build
+^publish
+~$
+\.(orig|rej)$
+\.py(c|o)$
+(?i)(^|/)TAGS$
+(^|/)ID$
+(^|/)\.DS_Store$
+