This is an archive of the discontinued Mercurial Phabricator instance.

wireprotov2: advertise redirect targets in capabilities
ClosedPublic

Authored by indygreg on Sep 26 2018, 9:09 PM.

Details

Summary

This is pretty straightforward.

Redirect targets will require an extension to support. So we've added
a function that can be wrapped to define redirect targets.

To test this, we teach our simple cache test extension to read
redirect targets from a file. It's a bit hacky. But it gets the
job done.

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.