Mercurial > evolve
comparison .hgtags @ 4847:0fecff9ac36d
cmdstate: avoid setting a default argument to a mutable object (`{}`)
If there's ever more than one cmdstate for the lifetime of the process, this can
cause surprising behavior where the later cmdstates pick up options from the
earlier ones.
I've not seen any evidence this is actually causing any issues, but it's subtle
enough that it should probably be fixed to help save significant debugging time
later.
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Mon, 16 Sep 2019 12:42:50 -0700 |
parents | 8babaf8102d6 |
children | 8ba35303fa1a |
comparison
equal
deleted
inserted
replaced
4846:38ce7fe4d3f2 | 4847:0fecff9ac36d |
---|