Mercurial > public > mercurial-scm > hg
diff hgext/histedit.py @ 34917:ee9243715c59 stable
registrar: host "dynamicdefault" constant by configitem object
This is the common pattern seen in the other registrar classes.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Oct 2017 13:13:20 +0900 |
parents | babd168e994b |
children | c4b769bc86da 7b73bf1a48d4 |
line wrap: on
line diff
--- a/hgext/histedit.py Sat Oct 21 13:04:58 2017 +0900 +++ b/hgext/histedit.py Sat Oct 21 13:13:20 2017 +0900 @@ -190,7 +190,6 @@ from mercurial import ( bundle2, cmdutil, - configitems, context, copies, destutil, @@ -221,7 +220,7 @@ default=False, ) configitem('histedit', 'defaultrev', - default=configitems.dynamicdefault, + default=configitem.dynamicdefault, ) configitem('histedit', 'dropmissing', default=False,