Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2009-02-12 22:21:29
Size: 1090
Comment: Initial version
Revision 3 as of 2009-05-19 19:31:07
Size: 1109
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Download site: [http://bitbucket.org/face/timestamp/] (Developed with Mercurial 1.1.2) Download site: [[http://bitbucket.org/face/timestamp/]] (Developed with Mercurial 1.1.2 - works with 1.2)
Line 13: Line 13:
This extension stops you from commiting a ["CaseFolding"] collision. In the current version of Mercurial, it is 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. This extension stops you from commiting a [[CaseFolding]] collision. In the current version of Mercurial, it is 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.

Casestop Extension

This extension is not distributed with Mercurial.

Author: Friedrich Kastner-Masilko

Download site: http://bitbucket.org/face/timestamp/ (Developed with Mercurial 1.1.2 - works with 1.2)

This extension is still in alpha, use it at your own risk.

Overview

This extension stops you from commiting a CaseFolding collision. In the current version of Mercurial, it is 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

Configure your .hgrc to enable the precommit hook:

[hooks]
precommit.casestop = python:hgext.casestop.hook


CategoryExtension

CasestopExtension (last edited 2019-10-31 12:31:31 by FriedrichKastner)