Show More
@@ -252,7 +252,7 b' def runcommand(lui, repo, cmd, fullargs,' | |||||
252 | result = ret) |
|
252 | result = ret) | |
253 | return ret |
|
253 | return ret | |
254 |
|
254 | |||
255 |
_loaded = |
|
255 | _loaded = set() | |
256 | def _dispatch(ui, args): |
|
256 | def _dispatch(ui, args): | |
257 | # read --config before doing anything else |
|
257 | # read --config before doing anything else | |
258 | # (e.g. to change trust settings for reading .hg/hgrc) |
|
258 | # (e.g. to change trust settings for reading .hg/hgrc) | |
@@ -300,7 +300,7 b' def _dispatch(ui, args):' | |||||
300 | ui.warn(_("extension '%s' overrides commands: %s\n") |
|
300 | ui.warn(_("extension '%s' overrides commands: %s\n") | |
301 | % (name, " ".join(overrides))) |
|
301 | % (name, " ".join(overrides))) | |
302 | commands.table.update(cmdtable) |
|
302 | commands.table.update(cmdtable) | |
303 |
_loaded |
|
303 | _loaded.add(name) | |
304 | # check for fallback encoding |
|
304 | # check for fallback encoding | |
305 | fallback = lui.config('ui', 'fallbackencoding') |
|
305 | fallback = lui.config('ui', 'fallbackencoding') | |
306 | if fallback: |
|
306 | if fallback: |
General Comments 0
You need to be logged in to leave comments.
Login now