changeset 78:02b85549369b default tip

Update for Mercurial 4.8.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 03 Nov 2018 23:40:04 -0700
parents 772d75b1a030
children
files mercurial_all_paths.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial_all_paths.py	Sun Aug 20 16:24:22 2017 -0700
+++ b/mercurial_all_paths.py	Sat Nov 03 23:40:04 2018 -0700
@@ -12,6 +12,7 @@
 import mercurial.util
 import mercurial.commands
 import mercurial.cmdutil
+import mercurial.registrar
 from mercurial.i18n import _
 
 
@@ -45,7 +46,7 @@
 if meu:
     command_decorator = meu.command
 else:
-    command_decorator = mercurial.cmdutil.command
+    command_decorator = mercurial.registrar.command
 
 
 # pylint:disable=invalid-name,broad-except,line-too-long