Mercurial > evolve
changeset 2608:4dd548327f89
obsfate: mark 'preparesuccessorset' as public
It is used in another module so it is not really private.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 16 Jun 2017 17:54:27 +0200 |
parents | 054d92586e43 |
children | 81a94da65dca |
files | hgext3rd/evolve/obshistory.py hgext3rd/evolve/templatekw.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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