Rename file only by case

Roger Kratz Roger.Kratz at teleopti.com
Wed Jan 9 14:38:45 UTC 2013


*blush*
Yeah, I see you are correct. The problem I had was caused by me renaming the file and then hoping that Hg would be able to pick up the change. And then it all make sense why this "implicit" way doesn't work on windows.

I could have sworn that last time I ran into this (a year ago or so, using Mercurial version ???), a "explicit" hg rename command didn't work either. But I'm probably wrong here as well...

Thanks
Roger

From: Mads Kiilerich [mailto:mads at kiilerich.com]
Sent: den 9 januari 2013 15:22
To: Roger Kratz
Cc: mercurial at selenic.com
Subject: Re: Rename file only by case

On 01/09/2013 02:58 PM, Roger Kratz wrote:
<< I'm not sure why you think there is any issue at all?>>

I'm not sure I understand you now ;)

My "issue" is that I need to rename a file twice if I want to change only case of name. I interpreted your answer like "You don't have to from Hg's point of view. However, Windows treats file names case insensitive so in your environment you have to".

No you don't.

1) hg mv FOO.txt foo.txt
2) hg commit

/Mads
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20130109/8527a19e/attachment-0002.html>


More information about the Mercurial mailing list