obsfate: mark 'preparesuccessorset' as public
It is used in another module so it is not really private.
--- a/hgext3rd/evolve/obshistory.py Fri Jun 16 16:51:31 2017 +0200
+++ b/hgext3rd/evolve/obshistory.py Fri Jun 16 17:54:27 2017 +0200
@@ -671,7 +671,7 @@
return markers
-def _preparesuccessorset(successorset, pathscache):
+def preparesuccessorset(successorset, pathscache):
""" For a successor set, get all related markers, compute the set of user,
the min date and the max date
"""
--- a/hgext3rd/evolve/templatekw.py Fri Jun 16 16:51:31 2017 +0200
+++ b/hgext3rd/evolve/templatekw.py Fri Jun 16 17:54:27 2017 +0200
@@ -141,7 +141,7 @@
values = []
for sset in successorssets:
- raw = obshistory._preparesuccessorset(sset, pathcache)
+ raw = obshistory.preparesuccessorset(sset, pathcache)
# As we can't do something like
# "{join(map(nodeshort, successors), ', '}" in template, manually