Mercurial > hg
comparison mercurial/error.py @ 21625:511f5fa63aa2
bundle2: enforce all parameters in a part to be handled
Once we picked a handler, we check that all mandatory parameter keys are
properly supported. If not we raise an exception.
We added a test for this case.
The code now fails for any part with unknown mandatory parameters. We will
ignore such errors for advisory parts in a later changeset.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 27 May 2014 12:01:00 -0700 |
parents | b6eb56a9335d |
children | 3e8bcc90f07c |
comparison
equal
deleted
inserted
replaced
21624:d61066d787c8 | 21625:511f5fa63aa2 |
---|