obslog: small renaming of _debugobshistorysingle
Rename _debugobshistorysingle to _debugobshistoryrevs in order to better
reflect its purpose.
--- a/hgext3rd/evolve/obshistory.py Mon Jun 19 10:33:36 2017 +0200
+++ b/hgext3rd/evolve/obshistory.py Mon Jun 19 15:32:25 2017 +0200
@@ -72,7 +72,7 @@
fm = ui.formatter('debugobshistory', opts)
revs.reverse()
- _debugobshistorysingle(fm, repo, revs)
+ _debugobshistoryrevs(fm, repo, revs)
fm.end()
@@ -280,8 +280,8 @@
walker = _obshistorywalker(repo.unfiltered(), revs, opts.get('all', False))
cmdutil.displaygraph(ui, repo, walker, displayer, edges)
-def _debugobshistorysingle(fm, repo, revs):
- """ Display the obsolescence history for a single revision
+def _debugobshistoryrevs(fm, repo, revs):
+ """ Display the obsolescence history for revset
"""
precursors = repo.obsstore.precursors
successors = repo.obsstore.successors