Closed Bug 1744838 Opened 3 years ago Closed 3 years ago

Enable HG interactive mode on Windows

Categories

(Developer Services :: Mercurial: configwizard, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mhentges, Assigned: mhentges)

References

Details

Attachments

(1 file)

It's unclear what the specific requirements are to do this - perhaps just have windows-curses installed into the associated Python environment? Unsure.

However, manually enabling it appears to work on MSYS2.

See Also: → 1739443

We probably need to add an else to this section of configwizard to force curses or unset text as the interface - then as long as our environment is configured it should Just Work.

Just noticed we also have another curses check as well. We might be able to remove the check from this comment and prefer to set curses via tweakdefaults, and then simply set/unset ui.interface=text when we can't import curses in our environment.

Blocks: 1739443
See Also: 1739443

Also, re-running configwizard should set/remove ui.interface
according to whether curses can be imported in the current Python
environment.

Merges _checkcurses() into _checktweakdefaults() since
tweakdefaults enables ui.interface = curses itself.

Assignee: nobody → mhentges
Status: NEW → ASSIGNED

Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/69882eb1b7b9
Remove ui.interface = text if curses is available r=sheehan

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: