Mercurial > hg-stable
diff tests/test-rebase-parameters.t @ 14963:c035f1c53e39
subrepo: use safehasattr instead of hasattr
Some of these instances could be rewritten as clever getattr(x, y,
default) ladders, but that felt like it impeded readability too much
to be worth the modest efficiency gain.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 25 Jul 2011 15:53:22 -0500 |
parents | 7d1b637738a3 |
children | 81f76098211e |