Mercurial > hg
diff tests/run-tests.py @ 38792:afb442f58cbf
exchange: refactor control flow of _getbundlechangegrouppart()
The use of early return makes the control flow of this function much
easier to reason about IMO.
Differential Revision: https://phab.mercurial-scm.org/D4010
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 02 Jul 2018 18:39:48 -0700 |
parents | fa6edc6a02a9 |
children | a9a4b0fc1e5d |