Differences between revisions 1 and 2
Revision 1 as of 2008-04-18 19:44:43
Size: 851
Editor: PaulMoore
Comment:
Revision 2 as of 2009-05-19 19:31:05
Size: 855
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Download site: Download direct from this page - attachment:fixcase.py Download site: Download direct from this page - [[attachment:fixcase.py]]

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


CategoryExtension

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