This is similar to the previous patch, but here we put a specialized
copy of simplemerge._verifytext() in the the filemerge module
instead.
Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHGd9af7c1fb619: simplemerge: let filemerge check for binary inputs
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
I am not entirely sure if removing the check from simplemerge is a good idea, new callers would need to think to verify the text beforehand. Maybe a _verified attribute could be used to skip the check if already done?
Comment Actions
Yes, that's fair. I'll refactor this in some way. I'd still like to remove the ui argument from simplemerge() because it seems like a library function to me (though I know we don't separate between library and UI almost anywhere :)).