[issue2946] Log command fails to find files that differ only by case
Aaron Jensen
bugs at mercurial.selenic.com
Tue Aug 9 12:55:03 CDT 2011
New submission from Aaron Jensen <ajensen at webmd.net>:
We use Mercurial exclusively on Windows. Occasionally, a developer will add a file
with a path whose case is inadvertently different (see below). When someone uses
the log command to get the change history for that file on the expected file's path,
nothing is returned. This is very confusing and misleading.
# Steps to Reproduce
1. On Windows,
2. hg init RepoWhereLogIsInconsistent
3. mkdir Libraries
4. echo "" > Libraries\file.txt
5. hg add Libraries
6. hg commit -m "Adding file.txt."
7. echo "" > Libraries\file2.txt
8. hg add LIbraries\file2.txt # Note I inadvertently spelled LIbraries with wrong
case.
9. hg commit -m "Adding file2.txt"
10. hg log Libraries\file2.txt
11. Note that step 10 returns no results.
----------
messages: 17094
nosy: splatteredbits
priority: bug
status: unread
title: Log command fails to find files that differ only by case
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2946>
____________________________________________________
More information about the Mercurial-devel
mailing list