Mercurial > hg
comparison hgext/keyword.py @ 17795:9fcea3f47a3a
keyword: move commands.inferrepo for code maintenance
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Wed, 17 Oct 2012 17:32:01 +0200 |
parents | 434e5bd615fc |
children | f0564402d059 |
comparison
equal
deleted
inserted
replaced
17794:a03cca2cf6c2 | 17795:9fcea3f47a3a |
---|---|
87 from mercurial.hgweb import webcommands | 87 from mercurial.hgweb import webcommands |
88 from mercurial.i18n import _ | 88 from mercurial.i18n import _ |
89 import os, re, shutil, tempfile | 89 import os, re, shutil, tempfile |
90 | 90 |
91 commands.optionalrepo += ' kwdemo' | 91 commands.optionalrepo += ' kwdemo' |
92 commands.inferrepo += ' kwexpand kwfiles kwshrink' | |
92 | 93 |
93 cmdtable = {} | 94 cmdtable = {} |
94 command = cmdutil.command(cmdtable) | 95 command = cmdutil.command(cmdtable) |
95 testedwith = 'internal' | 96 testedwith = 'internal' |
96 | 97 |
726 extensions.wrapfunction(record, 'dorecord', kw_dorecord) | 727 extensions.wrapfunction(record, 'dorecord', kw_dorecord) |
727 except KeyError: | 728 except KeyError: |
728 pass | 729 pass |
729 | 730 |
730 repo.__class__ = kwrepo | 731 repo.__class__ = kwrepo |
731 | |
732 commands.inferrepo += " kwexpand kwfiles kwshrink" |