Closed Bug 1744141 Opened 4 years ago Closed 4 years ago

"_checkevolve" should gracefully handle drive letter casing differences

Categories

(Developer Services :: Mercurial: configwizard, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mhentges, Assigned: mhentges)

Details

Attachments

(1 file)

As part of porting MozillaBuild to MSYS2, the path shim now likes to have drive letters capitalized.

For example (with win32 python)

  • MSYS: python3 -c "import os; print(os.getcwd())" => "c:\dev"
  • MSYS2: python3 -c "import os; print(os.getcwd())" => C:\dev

This is causing the _checkevolve() function to complain that "your copy of the evolve extension is not managed by this wizard".

normpath() cleans up slash inconsistencies and redundant
references, while normcase() handles slashes (again) and
casing inconsistencies.

Assignee: nobody → mhentges
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: