diff mercurial-common/src/python/load-commands-command.py @ 1044:e7df2ef5064b

fixed extensions for recent hg versions, should fix tests
author victory.bedrosova
date Tue, 19 Jan 2021 21:35:53 +0100
parents c5dc2c802e4b
children 71d765469b2d
line wrap: on
line diff
--- 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"