== Casestop Extension == '''This extension is not distributed with Mercurial.''' ''Author: Friedrich Kastner-Masilko'' Repository: http://hg.osdn.net/view/mercurialextensions/timestamp Compatibility: ||Mercurial version x ||Extension version || ||1.1.2 <= x < 2.0 ||[[http://hg.osdn.net/view/mercurialextensions/timestamp/file/3382bce62dca/casestop.py|3382bce62dca]] || ||2.0||[[http://hg.osdn.net/view/mercurialextensions/timestamp/file/74fb69b517ad/casestop.py|74fb69b517ad]] || ||2.0 < x < 2.6 ||unsupported|| ||2.6 <= x ||[[http://hg.osdn.net/view/mercurialextensions/timestamp/file/e85aaaa0a21a/casestop.py|e85aaaa0a21a]] || This extension is still in '''alpha''', use it at your own risk. === Overview === This extension stops you from commiting a [[CaseFolding]] collision. In older versions of Mercurial, it was possible to introduce case-folding collisions by means of [[Merge]] and [[RebaseExtension]] while using a repository solely on case-folding file-systems like NTFS. In addition, such a collision can not be detected by the user until he tries to update back to this commit. Furthermore, on projects using repos shared by users of Windows and POSIX-systems, it is easy for a POSIX user to cause the Windows folks a hard time. With this extension, you'll be stopped before commiting the crime... === Configuration 1.2 or higher === Configure your .hgrc to enable the extension by adding following lines: {{{ [extensions] casestop = path/to/casestop.py }}} This will already install the precommit hook. === Configuration 1.1.2 === Configure your .hgrc to enable the precommit hook: {{{ [hooks] precommit.casestop = python:hgext.casestop.hook }}} ---- CategoryExtensionsByOthers