@@ 1,8 1,5 @@
#!/usr/bin/env python
-testedwith = '3.3.2 3.3.3 3.4 3.5 3.6.1 3.7.3 3.8.1'
-
-import re
import os
import sys
@@ 10,11 7,14 @@ from mercurial import (
cmdutil,
commands,
context,
+ error,
extensions,
registrar,
util
)
+testedwith = '3.7 3.7.3 3.8.1'
+
try:
from menu import make_selector
from try_selector import CursesTrySelector
@@ 271,7 271,7 @@ def trychooser_command(ui, repo, *args,
ui.prompt = ui_prompt
if repo[None].dirty() and not opts['nopush']:
- raise util.Abort("local changes found, refresh first")
+ raise error.Abort("local changes found, refresh first")
if opts.get('message'):
msg = opts.get('message')