Differences between revisions 5 and 6
Revision 5 as of 2011-04-02 00:22:03
Size: 1125
Editor: GregWard
Comment: standard link/metadata terminology
Revision 6 as of 2013-11-13 16:59:22
Size: 1684
Comment: compatibility clarification
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Compatibility: developed with Mercurial 1.1.2 - works with 1.2 Compatibility:
||Mercurial version x ||Extension version ||
||1.1.2 <= x < 2.0 ||[[http://bitbucket.org/face/timestamp/src/3382bce62dca/casestop.py|3382bce62dca]] ||
||2.0||[[http://bitbucket.org/face/timestamp/src/74fb69b517ad/casestop.py|74fb69b517ad]] ||
||2.0 < x < 2.6 ||unsupported||
||2.6 <= x ||[[http://bitbucket.org/face/timestamp/src/e85aaaa0a21a/casestop.py|e85aaaa0a21a]] ||
Line 15: 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 19: Line 24:
=== Configuration === === Configuration >= 1.2===

Configure your .hgrc to enable the extension by adding following lines:

{{{
[extensions]
makewritable = path/to/makewritable.py
}}}

This will already install the precommit hook.

=== Configuration 1.1.2 ===

Casestop Extension

This extension is not distributed with Mercurial.

Author: Friedrich Kastner-Masilko

Repository: http://bitbucket.org/face/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===

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
makewritable = path/to/makewritable.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)