diff hgext/chgserver.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 318a24b52eeb
children 39d13b8c101d
line wrap: on
line diff