[Bug 4290] New: Escaping backslashes in style files not working

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Jun 25 06:11:20 CDT 2014


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

          Priority: normal
            Bug ID: 4290
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Escaping backslashes in style files not working
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: bloops at gmx.de
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.0.1
         Component: Mercurial
           Product: Mercurial

Steps to reproduce:

1. Create style file 'hg.style' containing:
   changeset = "AAA\\\\BBB"

2. Run: hg log -v -l 1 --style hg.style

Output is:

AAA\BBB

Expected output is:

AAA\\BBB



Another example:

1. Create style file 'hg.style' containing:
   changeset = "AAA\\\nBBB"

2. Run: hg log -v -l 1 --style hg.style

Output is:

AAABBB

Expected output is:

AAA\
BBB

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


More information about the Mercurial-devel mailing list