[Bug 4186] New: hg locate does not respect ui.slash

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Mar 3 07:26:46 CST 2014


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

          Priority: normal
            Bug ID: 4186
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg locate does not respect ui.slash
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: hg-bugzilla at rngd.co
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.9.1
         Component: Mercurial
           Product: Mercurial

The locate command always prints paths with the system path separator, even
when the ui.slash setting is set to True.

# To reproduce:

On a Windows system, in a repository containing a file 'a' in a directory 'b',
execute the command 'hg --config ui.slash=True locate a'. 

# Expected result: 

A line containing 'b/a'

# Actual result: 

A line containing 'b\a'

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


More information about the Mercurial-devel mailing list