Skip to content
Snippets Groups Projects
Commit a3da4592 authored by Sean Farley's avatar Sean Farley
Browse files

util: regularize mercurial imports

parent 060bc3ba
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,8 @@
functions."""
import re
from dulwich import errors
from mercurial import util as hgutil
try:
from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict
......@@ -7,8 +5,13 @@
try:
from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict
from dulwich import errors
from mercurial import (
util as hgutil,
)
gitschemes = ('git', 'git+ssh', 'git+http', 'git+https')
def parse_hgsub(lines):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment