This is an archive of the discontinued Mercurial Phabricator instance.

simplemerge: let extension check for binary inputs (unless `--text`)
ClosedPublic

Authored by martinvonz on Feb 8 2022, 4:26 PM.

Details

Summary

The simplemerge module does too much UI-related things. This patch
puts a specialized copy of simplemerge._verifytext() in the
simplemerge extension.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

martinvonz created this revision.Feb 8 2022, 4:26 PM
Alphare accepted this revision.Feb 9 2022, 10:56 AM
This revision is now accepted and ready to land.Feb 9 2022, 10:56 AM
martinvonz retitled this revision from simplemerge: make _verifytext() callable by simplemerge's users to simplemerge: let extension check for binary inputs (unless `--text`).
martinvonz edited the summary of this revision. (Show Details)
martinvonz updated this revision to Diff 32135.