Skip to content
Snippets Groups Projects
Commit 20b932e6 authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

commands: only inject wrappers on load

parent 8c5ed2bf
No related branches found
No related tags found
1 merge request!107Refactor __init__.py to many modules; use exthelper
......@@ -263,6 +263,7 @@
def extsetup(ui):
commands.extsetup(ui)
revsets.extsetup(ui)
......
......@@ -180,5 +180,6 @@
repo.githandler.add_tag(target, *names)
commands.table[b'tag'][1].append((b'', b'git', False,
def extsetup(ui):
commands.table[b'tag'][1].append((b'', b'git', False,
b'make it a git tag'))
......@@ -184,7 +185,7 @@
b'make it a git tag'))
extensions.wrapcommand(
commands.table,
b'tag',
tag,
docstring='\n\n ' + tag.__doc__.strip(),
)
extensions.wrapcommand(
commands.table,
b'tag',
tag,
docstring='\n\n ' + tag.__doc__.strip(),
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment