Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2009-02-12 22:21:29
Size: 1090
Comment: Initial version
Revision 9 as of 2019-10-31 12:31:31
Size: 1758
Comment: Migrated to OSDN, because Bitbucket decided to eject Mercurial users
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) 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]] ||
Line 13: Line 20:
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 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.
Line 17: Line 24:
=== Configuration === === 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 ===
Line 25: Line 43:
Line 27: Line 44:
CategoryExtension CategoryExtensionsByOthers

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

3382bce62dca

2.0

74fb69b517ad

2.0 < x < 2.6

unsupported

2.6 <= x

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

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