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: bugzi...@mercurial-scm.org
          Reporter: scoopta@scoopta.email
                CC: mercurial-devel@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to