obshistory: remove unused _successorsetdates() and _successorsetusers()
They were used by preparesuccessorset() that was removed in the previous patch.
--- a/hgext3rd/evolve/obshistory.py Mon Jan 13 14:59:08 2020 +0700
+++ b/hgext3rd/evolve/obshistory.py Mon Jan 13 15:04:02 2020 +0700
@@ -751,32 +751,6 @@
return (fate, successors)
-def _successorsetdates(successorset, markers):
- """returns the max date and the min date of the markers list
- """
-
- if not markers:
- return {}
-
- dates = [m[4] for m in markers]
-
- return {
- b'min_date': min(dates),
- b'max_date': max(dates)
- }
-
-def _successorsetusers(successorset, markers):
- """ Returns a sorted list of markers users without duplicates
- """
- if not markers:
- return {}
-
- # Check that user is present in meta
- markersmeta = [dict(m[3]) for m in markers]
- users = set(meta.get(b'user') for meta in markersmeta if meta.get(b'user'))
-
- return {b'users': sorted(users)}
-
EFFECTMAPPING = util.sortdict([
(obsutil.DESCCHANGED, b'description'),
(obsutil.METACHANGED, b'meta'),