Mercurial > hg
comparison mercurial/pathencode.c @ 23586:112f9c73a0e5
bundle2._processpart: forcing lower-case compare is no longer necessary
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.
Since the parttype and mandatory bit are separated in bundle2.unbundlepart
(see previous patch), there is no longer a need to remove the mandatory bit
before working with the parttype.
author | Eric Sumner <ericsumner@fb.com> |
---|---|
date | Fri, 12 Dec 2014 12:31:41 -0800 |
parents | 5f683209f5b6 |
children | 822f46b80fa9 |
comparison
equal
deleted
inserted
replaced
23585:94b25d71dd0f | 23586:112f9c73a0e5 |
---|