comparison mercurial/setdiscovery.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 c3eacee01c7e
children bd872f64a8ba
comparison
equal deleted inserted replaced
29900:50f2966f86ca 29901:4d1e6f91f1c7