Mercurial > hg
comparison hgext/mq.py @ 30381:caba61934721
shelve: move commitfunc creation to a separate function
Special commitfuncs are created as closures at least twice in shelve's
code and one time special commitfunc is used within another closure.
They all serve very specific purposes like temporarily tweak some
configuration or enable editor, etc. This is not immediately important
to someone reading shelve code, so I think moving this logic to a separate
function is a good idea.
author | Kostia Balytskyi <ikostia@fb.com> |
---|---|
date | Thu, 10 Nov 2016 03:26:31 -0800 |
parents | d79c141fdf41 |
children | acd30a959980 |
comparison
equal
deleted
inserted
replaced
30380:84e8cbdbdee4 | 30381:caba61934721 |
---|