# HG changeset patch # User Steve Fink # Date 1536361571 25200 # Fri Sep 07 16:06:11 2018 -0700 # Node ID 178bfa504cd98511eb3f31f31c5a1845d942dc33 # Parent 5648fb65dcd5ec4825ee8c2fdddad079797819d5 Compatibility update diff --git a/__init__.py b/__init__.py --- a/__init__.py +++ b/__init__.py @@ -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 @@ 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 @@ 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')