This is an archive of the discontinued Mercurial Phabricator instance.

widening: pass in matchers instead of patterns
ClosedPublic

Authored by martinvonz on Oct 14 2019, 1:57 PM.

Details

Summary

This matches how it's done for the non-ellipsis case. The oldmatch is
not used yet, but it should be used eventually when widening no longer
resends manifests and files the client already has.

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

martinvonz created this revision.Oct 14 2019, 1:57 PM
pulkit accepted this revision.Oct 16 2019, 9:58 AM
pulkit added a subscriber: pulkit.

The oldmatch is not used yet, but it should be used eventually when widening no longer resends manifests and files the client already has.

You mean for ellipses case? If yes, nice!!!!

This revision is now accepted and ready to land.Oct 16 2019, 9:58 AM
This revision was automatically updated to reflect the committed changes.

The oldmatch is not used yet, but it should be used eventually when widening no longer resends manifests and files the client already has.

You mean for ellipses case? If yes, nice!!!!

Yes, for the ellipses case. I think you already fixed the non-ellipses case. We should be able to unify them better. But I'll probably only get around to doing that next year.