Login Status


ShareSource Site » Projects » visualhg » visualhgBug Tracker

Project: VisualHG [Bug Tracker]

(*) Summary   [^] Files   [_] Wiki   [!] Bug Tracker   (») Mercurial Repository  
Actions » View tickets | Report a bug

Bug #346 [CLOSED]

Reason: Implemented

Vital Bug Details
Summery: Paths with upper case characters get removed and readded with lower case paths
  Severity: Medium
Status: Priority: Low
Assigned to: Nobody Percent Complete: 100%
Bug Reporter
Reported by: Anonymous ( on Friday, 03 July 2009, 10:19AM (03/07/2009) )
Bug Details
We have a project with some upper case file names. With VisualHG installed, saving them results in the case of the path changing and the upper case version being removed and a lower case version added.

My system is WinXP with all patches.

Sample output from hg status showing the problem.
L:\pcdmisrepos\working>hg status
M Pcdlrn\RESOURCE\LANGS\ENGLISH\RESOURCE.RC
M Pcdlrn\SOURCE\GLOBALS.CPP
A Pcdlrn\Include\resource.h
A Pcdlrn\MENU\ResourceEnum.cpp
R Pcdlrn\INCLUDE\resource.H
R Pcdlrn\MENU\RESOURCEENUM.CPP

Note that the first two lines didn't get removed and re-added. The bug doesn't happen every time, but often enough to be a significant disruption.
View History »

Comments

Comment by: Bernd Schrader | Posted: Saturday, 04 July 2009, 05:19AM (04/07/2009)
This is exactly correct and it's called 'file rename tracking', not a bug.
For case sensitive systems, as Mercurial is, the files 'resource.H' and
'Resource.h' are completely different once.

However, while writing a brief description about that behavior, I figured
out Mercurial v 1.3 solved this 'case folding' problems of it's own (only windows),
and my workaround is no longer needed at all. So, you will find it removed in
the next version (1.0.6).

Thx for your posting, else I didn't find it out.

Comment by: Bernd Schrader | Posted: Saturday, 04 July 2009, 08:50AM (04/07/2009)
Here is just a link where you can read what happened with case folding collosion
http://kdbdallas.com/2008/12/23/fix-mercurial-case-folding-collisions/


Want to comment?

Please login to ShareSource.