comparison hgext/acl.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 681f7b9213a4
children 80c5b2666a96
comparison
equal deleted inserted replaced
23584:db03ed8cbfa3 23585:94b25d71dd0f