Mercurial > hg
view contrib/revsetbenchmarks.txt @ 21049:f117a0ba5289
hg: make "_outgoing()" return empty list instead of "None"
This patch makes "_outgoing()" return empty list instead of "None", if
there are no outgoing changesets, because:
- returning "None" requires callers to examine whether returned
value is "None" or not explicitly, if callers want to execute loop
on returned value, but
- there are no explicit needs to return "None"
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 16 Apr 2014 00:37:24 +0900 |
parents | 04e1596d5dbd |
children | 1d7a2771aa36 |
line wrap: on
line source
all() draft() ::tip draft() and ::tip 0::tip roots(0::tip) author(lmoscovicz) author(mpm) author(lmoscovicz) or author(mpm) tip:0 max(tip:0) min(0:tip) 0:: min(0::) roots((tip~100::) - (tip~100::tip)) ::p1(p1(tip))::