Mercurial > hg
diff mercurial/posix.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 | a6014018ec28 |
children | 234e4c24b980 |