Commits

Anonymous committed 3ddafa3

renamed .hgignorechecks to .ignorechecks

Comments (0)

Files changed (2)

 .deps = native
 .dmrc = native
 .hgignore = native
-.hgignorechecks = native
 .hgeol = native
+.ignorechecks = native
 **.txt = native
 **.pyva = native
 **.py = native

hghooks/manager.py

         modified_files = {}
         ignorefunc = lambda x: False
 
-        if '.hgignorechecks' in existing_files:
-            filectx = ctx.filectx('.hgignorechecks')
+        if '.ignorechecks' in existing_files:
+            filectx = ctx.filectx('.ignorechecks')
             filedata = filectx.data()
             ignore_pattern, pattern_warnings = ignore.ignorepats(filedata.splitlines())
             if pattern_warnings:
-                self.ui.warn('\nBad .hgignorechecks:\n%s\n\n'
+                self.ui.warn('\nBad .ignorechecks:\n%s\n\n'
                              % '\n'.join(pattern_warnings))
                 return True
             if ignore_pattern: