[Bug 4768] New: case-changing rename can't be committed with explicit paths

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Aug 6 13:49:14 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4768

          Priority: normal
            Bug ID: 4768
                CC: matt_harbison at yahoo.com, mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: case-changing rename can't be committed with explicit
                    paths
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: yuya at tcha.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.5
         Component: Mercurial
           Product: Mercurial

On Windows, after case-changing rename:

$ hg init casechange
$ cd casechange
$ touch foo
$ hg ci -Am add
$ hg mv foo FOO
$ hg stat
A FOO
R foo

The removed file can't be committed if paths are specified:

$ hg ci -m change foo FOO
$ hg stat
R foo

If no paths are specified, the commit works fine:

$ hg rollback
$ hg ci -m change
$ hg stat

The first bad revision is:

changeset:   24790:baa11dde8c0e
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Sun Apr 12 01:39:21 2015 -0400
summary:     match: add a subclass for dirstate normalizing of the matched
patterns

This issue was originally reported to TortoiseHg:
https://bitbucket.org/tortoisehg/thg/issues/4245/

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list