hgview #10126784 AttributeError: 'localrepository' object has no attribute 'join' [done]

With mercurial 4.3.1

$ hgview
obsolete feature not enabled but 396 markers found!
Traceback (most recent call last):
File "/usr/bin/hgview", line 38, in <module>
  main()
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 226, in main
  sys.exit(start(repo, opts, args, parser.error))
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 174, in start
  app = Application(repo, opts, args)
File "/usr/lib/python2.7/dist-packages/hgviewlib/qt4/application.py", line 54, in __init__
  super(HgViewQtApplication, self).__init__(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 84, in __init__
  self.choose_viewer()
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 108, in choose_viewer
  viewer = self.HgRepoViewer(self.repo)
File "/usr/lib/python2.7/dist-packages/hgviewlib/qt4/hgrepoviewer.py", line 106, in __init__
  self._repodate = self._getrepomtime()
File "/usr/lib/python2.7/dist-packages/hgviewlib/qt4/hgrepoviewer.py", line 623, in _getrepomtime
  for l in (self.repo.sjoin('lock'), self.repo.join('wlock')):
AttributeError: 'localrepository' object has no attribute 'join'
$ hg --version
Mercurial Distributed SCM (version 4.3.1)
(see https://mercurial-scm.org for more information)

Renders hgview unusuable.

priorityimportant
typebug
done in<not specified>
load left0.000
closed by<not specified>