hgview #10128080 AttributeError: 'phasecache' object has no attribute '_phaserevs' [done]

hgview crash with hg >= 4.5:

Traceback (most recent call last):
  File "./bin/hgview", line 38, in <module>
    main()
  File "/home/ppepiot/src/hgview/hgviewlib/application.py", line 226, in main
    sys.exit(start(repo, opts, args, parser.error))
  File "/home/ppepiot/src/hgview/hgviewlib/application.py", line 174, in start
    app = Application(repo, opts, args)
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/application.py", line 54, in __init__
    super(HgViewQtApplication, self).__init__(*args, **kwargs)
  File "/home/ppepiot/src/hgview/hgviewlib/application.py", line 84, in __init__
    self.choose_viewer()
  File "/home/ppepiot/src/hgview/hgviewlib/application.py", line 108, in choose_viewer
    viewer = self.HgRepoViewer(self.repo)
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/hgrepoviewer.py", line 87, in __init__
    self.setupModels(fromhead)
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/hgrepoviewer.py", line 480, in setupModels
    self.create_models(fromhead)
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/hgrepoviewer.py", line 471, in create_models
    self.repomodel = HgRepoListModel(self.repo, fromhead=fromhead)
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/hgrepomodel.py", line 137, in __init__
    HgRepoListWalker.__init__(self, repo, branch, fromhead, follow, closed=closed)
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 677, in __init__
    self.setRepo(repo, branch=branch, fromhead=fromhead, follow=follow, closed=closed)
  File "/home/ppepiot/src/hgview/hgviewlib/qt4/hgrepomodel.py", line 141, in setRepo
    HgRepoListWalker.setRepo(self, repo, branch, fromhead, follow, closed=closed)
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 715, in setRepo
    self.ensureBuilt(row=self.fill_step)
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 735, in ensureBuilt
    self.graph.build_nodes(nnodes=required, rev=buildrev)
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 464, in build_nodes
    for vnext in self.grapher:
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 275, in revision_grapher
    phaserevs = _get_phaserevs(repo)
  File "/home/ppepiot/src/hgview/hgviewlib/hggraph.py", line 161, in _get_phaserevs
    phaserevs = repo._phasecache._phaserevs
AttributeError: 'phasecache' object has no attribute '_phaserevs'
priorityimportant
typebug
done in<not specified>
load left0.000
closed by#a7d039ae4b4d drop _get_phaserevs()
patchdrop _get_phaserevs() [applied]