Mercurial > hg
comparison tests/test-histedit-obsolete.t @ 33885:800bb35d891e
pushvars: do not mangle repo state
Setting `repo._shellvars` works but is not a clean way to pass the pushvars
information from the push command to the exchange operation. Therefore
change it to actually pass `pushvars` as a push operation argument instead.
This makes third party extension like remotenames easier to support pushvars
cleanly. The key value parsing and verification code has been moved to a
lower level so it's harder to be bypassed and easier to be used in
remotenames which could replace `push` command entirely.
Differential Revision: https://phab.mercurial-scm.org/D423
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 16 Aug 2017 15:48:48 -0700 |
parents | 9dcc3529e002 |
children | e8a7c1a0565a |
comparison
equal
deleted
inserted
replaced
33883:e5d104c35e51 | 33885:800bb35d891e |
---|