Fixcase Extension

This extension is not distributed with Mercurial.

Author: Andrei Vermel

Source code: 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)