Mercurial > hg
changeset 13299:f24ea9356e7d
keyword: move repo.__class__ assignment out of monkeypatch context
A cosmetic change to improve readability.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Sun, 23 Jan 2011 03:15:44 +0100 |
parents | f715e6bd8091 |
children | 23bbb5b888ea |
files | hgext/keyword.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/keyword.py Sun Jan 23 03:15:39 2011 +0100 +++ b/hgext/keyword.py Sun Jan 23 03:15:44 2011 +0100 @@ -636,8 +636,6 @@ finally: wlock.release() - repo.__class__ = kwrepo - def kwfilectx_cmp(orig, self, fctx): # keyword affects data size, comparing wdir and filelog size does # not make sense @@ -661,6 +659,8 @@ except KeyError: pass + repo.__class__ = kwrepo + cmdtable = { 'kwdemo': (demo,