[Bug 3576] New: hg commit and add require the same case on Windows (Regression)

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Tue Aug 7 12:38:40 CDT 2012


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

          Priority: normal
            Bug ID: 3576
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg commit and add require the same case on Windows
                    (Regression)
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: Edwin.Brown at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.3
         Component: Mercurial
           Product: Mercurial

C:\ugs\CMM\8>hg version
Mercurial Distributed SCM (version 2.3)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


C:\ugs\CMM\8>hg init

C:\ugs\CMM\8>hg add Config\cmmConfig.xml

C:\ugs\CMM\8>hg commit config\cmmConfig.cmd
abort: config/cmmConfig.cmd: file not tracked!

C:\ugs\CMM\8>hg commit Config\cmmConfig.xml
abort: empty commit message

C:\ugs\CMM\8>hg commit config\cmmconfig.xml
abort: config/cmmconfig.xml: file not tracked!


Should commit either way on windows. 
-----------------------------------------------------------------------------


C:\Users\ideasadm\test>hg version
Mercurial Distributed SCM (version 2.2.1)
(see http://mercurial.selenic.com for more information)


Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


C:\Users\ideasadm>hg version
Mercurial Distributed SCM (version 2.2.1)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

C:\Users\ideasadm>mkdir test

C:\Users\ideasadm>mkdir test\Config\

C:\Users\ideasadm>echo "Hello" > test\Config\config.xml

C:\Users\ideasadm>cd test

C:\Users\ideasadm\test>hg add config\config.xml
adding Config\config.xml

C:\Users\ideasadm\test>hg commit Config\config.xml

C:\Users\ideasadm\test>hg init

-------------------------------------------------------------------------------
Works fine in 2.2.1

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


More information about the Mercurial-devel mailing list