diff mercurial/url.py @ 29901:4d1e6f91f1c7

discovery: explicitly check for None in outgoing init f09d0004481c introduced default params for discovery.outgoing(), but it used a falsy check instead of an explicit check for None. The result is that callers that passed in an empty list would have that list overridden by the defaults, which is not the expected behavior. This was discovered by changes to the test-pushrebase.t test in Facebook's repository of mercurial extensions.
author Ryan McElroy <rmcelroy@fb.com>
date Tue, 06 Sep 2016 09:43:25 -0700
parents 44ea12756fef
children f1c9fafcbf46
line wrap: on
line diff