Mercurial > hg > mercurial
diff mercurial-common/src/python/load-commands-command.py @ 1049:0022415d251d cloud
from trunk: fixed tests for recent hg versions
(grafted from 5bec80ce92ae32b6e271be3131dcfbd4cebbf918)
(grafted from a377f996514e4b9dfc66a4f47196cd4a6d3aa82d)
author | victory.bedrosova |
---|---|
date | Thu, 21 Jan 2021 12:01:07 +0100 |
parents | c5dc2c802e4b |
children |
line wrap: on
line diff
--- a/mercurial-common/src/python/load-commands-command.py Tue Jun 30 12:53:27 2020 +0300 +++ b/mercurial-common/src/python/load-commands-command.py Thu Jan 21 12:01:07 2021 +0100 @@ -46,10 +46,12 @@ #so here goes command registration and options cmdtable = { - "CMD": (load_commands_command, [], " OUTPUT_FILE") + b"CMD": (load_commands_command, [], b" OUTPUT_FILE") } -commands.norepo += " CMD" +load_commands_command.norepo = True +load_commands_command.optionalrepo = False +load_commands_command.inferrepo = False testedwith = '2.2.2' buglink = "upsource-support@jetbrains.com"