[Bug 5926] New: hg addremove doesn't use OS specific path separator

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Jun 22 11:05:32 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5926

            Bug ID: 5926
           Summary: hg addremove doesn't use OS specific path separator
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: bugreporter5367 at protonmail.com
                CC: mercurial-devel at mercurial-scm.org

According to https://www.mercurial-scm.org/wiki/PathSeparator the addremove
command should use a local (aka OS specific) path separator character. When I
run addremove on Windows it uses the forward slash character instead of
backslash. 

Sample output (Mercurial 4.5.3) on Windows of addremove compared to status:

C:\Download\TestRepository>hg addr
adding folder/file1.txt
adding folder/file2.txt

C:\Download\TestRepository>hg status
A folder\file1.txt
A folder\file2.txt

Can the addremove command be fixed to use the local path separator?

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


More information about the Mercurial-devel mailing list