[Bug 5604] New: When Color feature is disabled, prompts do not appear until y/n is hit.

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jun 20 19:47:03 UTC 2017


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

            Bug ID: 5604
           Summary: When Color feature is disabled, prompts do not appear
                    until y/n is hit.
           Product: Mercurial
           Version: 4.2.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: Chuck.Kirschman at bentley.com
                CC: mercurial-devel at mercurial-scm.org

When the color feature is disabled (ui.color=False), the prompt "local [working
copy] changed test1.txt which other [merge rev] deleted" does not appear until
y, n, or ctrl-C is hit. I see this when color is disabled in the INI file, but
couldn't reproduce when I tried to use --config ui.color=False on the command
line (and "color=auto" in the INI). I can't explain that disparity, but it may
be important to reproduce. I also could not reproduce in my pulled version of
the Hg repo under the debugger.

Test script:

rd /s /q r1
rd /s /q r2

mkdir r1
hg init r1

echo x >> r1\test1.txt
hg -R r1 add
hg -R r1 --config ui.username=U1 commit -m "test-r1-1"

hg clone r1 r2

echo x >> r1\test1.txt
hg -R r1 --config ui.username=U1  commit -m "test-r1-2"

hg -R r2 rm -f r2\test1.txt
hg -R r2 --config ui.username=U2  commit -m "test-r2-1"

hg -R r1 pull r2
hg -R r1 merge

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


More information about the Mercurial-devel mailing list