Page MenuHomePhabricator

pushrebase: set legacy.exchange config when pushrebase is used
ClosedPublic

Authored by ikostia on Dec 11 2017, 2:17 PM.

Details

Summary

For now pushrebase only supports the legacy exchnage mode.

Test Plan
  • fewer tests fail after this change

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ikostia created this revision.Dec 11 2017, 2:17 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptDec 11 2017, 2:17 PM
quark accepted this revision.Dec 11 2017, 2:52 PM
quark added a subscriber: quark.
quark added inline comments.
hgext3rd/pushrebase.py
158

Just use legexc here. That avoids some round-trip escaping issues.

tests/test-pushrebase-remotenames.t
37 ↗(On Diff #4360)

Unrelated change

This revision is now accepted and ready to land.Dec 11 2017, 2:52 PM
This revision was automatically updated to reflect the committed changes.