Commit ad2a8a64 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

topic: drop compat.successorssets(), it's not used

The only place in topics that uses successorssets function is in evolvebits.py,
and it's using that function from obsutil directly.
parent acc7e27fa5c6
Pipeline #1081 passed with stage
in 5 minutes and 3 seconds
......@@ -8,9 +8,8 @@
from __future__ import absolute_import
from mercurial import (
obsolete,
pycompat,
registrar,
util,
)
......@@ -12,18 +11,8 @@
pycompat,
registrar,
util,
)
successorssets = None
try:
from mercurial import obsutil
successorssets = getattr(obsutil, 'successorssets', None)
except ImportError:
pass
if successorssets is None:
successorssets = obsolete.successorssets
if pycompat.ispy3:
def branchmapitems(branchmap):
return branchmap.items()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment