Mercurial > hg
diff hgext/convert/bzr.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 | e7cfe3587ea4 |
children | 650b5b6e75ed |