comparison mercurial/manifest.py @ 23585:94b25d71dd0f

bundle2.unbundlepart: decouple mandatory from parttype Encoding whether or not a part is mandatory in the capitalization of the parttype is unintuitive and error-prone. This sequence of patches separates these concerns in the API to reduce programmer error and pave the way for a potential change in how this information is transmitted over the wire. This patch separates the two pieces of information when reading the part header so that it's unnecessary to know how they were combined during transmission.
author Eric Sumner <ericsumner@fb.com>
date Fri, 12 Dec 2014 11:26:56 -0800
parents 0cc283f44655
children a4679a74df14
comparison
equal deleted inserted replaced
23584:db03ed8cbfa3 23585:94b25d71dd0f