Differences between revisions 2 and 3
Revision 2 as of 2009-05-19 19:31:05
Size: 855
Editor: localhost
Comment: converted to 1.6 markup
Revision 3 as of 2009-05-25 08:57:20
Size: 862
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 42: Line 42:
Line 44: Line 43:
CategoryExtension CategoryExtensionsByOthers

Fixcase Extension

This extension is not distributed with Mercurial.

Author: Andrei Vermel

Download site: Download direct from this page - fixcase.py

Overview

This extension corrects case errors in file names. The intended use is on case insensitive filesystems (such as Windows) where a program has modified the case of a file's name so that it now differs from the case Mercurial expects.

An example of usage:

>echo Hello, world >a
>hg add a
>hg commit -m "Added a"

>rem Something nasty messes up the case of a
>ren a A

>hg sta
? A

>hg fixcase
Reverted A to a

>hg sta

>dir /b
.hg
a

Configuration

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

[extensions]
fixcase = path/to/fixcase.py


CategoryExtensionsByOthers

FixcaseExtension (last edited 2011-04-02 00:50:11 by GregWard)