[Bug 5555] New: 'ui.formatted=always|yes' causes stray trailing \r on Windows diff

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue May 2 21:21:11 UTC 2017


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

            Bug ID: 5555
           Summary: 'ui.formatted=always|yes' causes stray trailing \r on
                    Windows diff
           Product: Mercurial
           Version: 4.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: matt_harbison at yahoo.com
                CC: mercurial-devel at mercurial-scm.org

test-diff-color-t fails like so, unless the ui.formatted config is commented
out:

$ ./run-tests.py --local test-diff-color.t

--- c:/Users/Matt/Projects/hg/tests/test-diff-color.t
+++ c:/Users/Matt/Projects/hg/tests/test-diff-color.t.err
@@ -49,6 +49,7 @@
    a
    a
    c
+  \r (esc)

 (check that 'ui.color=yes' match '--color=auto')

@@ -81,6 +82,7 @@
    a
    a
    c
+  \r (esc)


(subsequent similar failures omitted)

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


More information about the Mercurial-devel mailing list