comparison hgext/eol.py @ 28313:aa73d6a5d9ea

dispatch: store norepo/optionalrepo/inferrepo attributes in function (API) This can eliminate import cycles and ugly push/pop of global variables at _checkshellalias(). Attributes of aliascmd are directly accessible. Because norepo/optionalrepo/inferrepo lists aren't populated, extensions examining them no longer work. That's why this patch removes these lists to signal the API incompatibility. This breaks 3rd-party extensions that are yet to be ported to @command decorator.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 01 Jan 2016 22:16:25 +0900
parents f5b6b4e574c1
children cca011fd1ea7
comparison
equal deleted inserted replaced
28312:24f1d3c70c41 28313:aa73d6a5d9ea