Mercurial > hg
comparison mercurial/phases.py @ 26311:60dd8e3977f0
util: avoid mutable default arguments
I almost introduced a bug around this code by accidentally mutating a default
argument. There's no reason for these to exist.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 22 Sep 2015 16:55:18 -0700 |
parents | f14cea32e1d4 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
26310:61efe9ef6ad4 | 26311:60dd8e3977f0 |
---|