[Bug 6479] New: GUI diff tools fail to launch under wayland

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Feb 4 02:11:26 UTC 2021


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

            Bug ID: 6479
           Summary: GUI diff tools fail to launch under wayland
           Product: Mercurial
           Version: 5.6.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: scoopta at scoopta.email
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

I have meld configured as my diff tool in my hgrc. When running hg resolve on
my system I get this error and the resolve fails

tool meld requires a GUI

I did some testing and this goes away if I run DISPLAY=:0 hg resolve. It
appears mercurial checks for the presence of $DISPLAY. meld is a fully wayland
native application and even though I have no X server running at all just
setting $DISPLAY fixes the issue. Mercurial should either not make this check
or check for either $DISPLAY and $WAYLAND_DISPLAY.

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


More information about the Mercurial-devel mailing list