Size: 862
Comment:
|
← Revision 4 as of 2011-04-02 00:50:11 ⇥
Size: 860
Comment: standard link/metadata terminology
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
Download site: Download direct from this page - [[attachment:fixcase.py]] | Source code: Download direct from this page - [[attachment:fixcase.py]] |
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