# HG changeset patch # User victory.bedrosova # Date 1611088553 -3600 # Node ID e7df2ef5064bec05a16563ba18bceddb271e83f8 # Parent 7378eb4a7e47073beee258257b5222ece5a2c4cb fixed extensions for recent hg versions, should fix tests diff -r 7378eb4a7e47 -r e7df2ef5064b mercurial-common/src/python/load-commands-command.py --- a/mercurial-common/src/python/load-commands-command.py Wed Dec 16 13:25:58 2020 +0300 +++ b/mercurial-common/src/python/load-commands-command.py Tue Jan 19 21:35:53 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_substates_command.norepo = True +load_substates_command.optionalrepo = False +load_substates_command.inferrepo = False testedwith = '2.2.2' buglink = "upsource-support@jetbrains.com" diff -r 7378eb4a7e47 -r e7df2ef5064b mercurial-common/src/python/load-substates-command-46.py --- a/mercurial-common/src/python/load-substates-command-46.py Wed Dec 16 13:25:58 2020 +0300 +++ b/mercurial-common/src/python/load-substates-command-46.py Tue Jan 19 21:35:53 2021 +0100 @@ -141,7 +141,7 @@ #so here goes command registration and options cmdtable = { - "load-substates": (load_substates_command, [ ], " [options] OUTPUT_FILE") + b"load-substates": (load_substates_command, [ ], b" [options] OUTPUT_FILE") } load_substates_command.norepo = False @@ -149,6 +149,6 @@ load_substates_command.inferrepo = False load_substates_command.intents = None -testedwith = '4.7.2' +testedwith = '5.6.1' buglink = "upsource-support@jetbrains.com" diff -r 7378eb4a7e47 -r e7df2ef5064b mercurial-common/src/python/load-substates-command.py --- a/mercurial-common/src/python/load-substates-command.py Wed Dec 16 13:25:58 2020 +0300 +++ b/mercurial-common/src/python/load-substates-command.py Tue Jan 19 21:35:53 2021 +0100 @@ -140,7 +140,7 @@ #so here goes command registration and options cmdtable = { - "load-substates": (load_substates_command, [ ], " [options] OUTPUT_FILE") + b"load-substates": (load_substates_command, [ ], b" [options] OUTPUT_FILE") } load_substates_command.norepo = False