comparison tests/test-pull-r.t @ 28959:518c3e392f75

lock: clear postrelease hooks list after usage Post release hooks should only be called once. Setting the list to None after usage will prevent accidental usage after they are used. In addition, it is easy for reference cycles to sneak into hook functions. Clearing the hooks after usage helps prevent these cycles.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 16 Apr 2016 09:00:15 -0700
parents e01bd7385f4f
children eb586ed5d8ce
comparison
equal deleted inserted replaced
28958:77e566fe31ec 28959:518c3e392f75