[Python-apps-team] Bug#747899: hgview crashes since upgrade to mercurial 2.9.2-1

Julien Cristau julien.cristau at logilab.fr
Thu May 15 13:31:07 UTC 2014


Control: tags -1 confirmed upstream fixed-upstream

On Mon, May 12, 2014 at 19:01:43 +0200, Jeremy P. wrote:

> Package: hgview
> Version: 1.8.0-1
> Severity: grave
> Justification: renders package unusable
> 
> jeremyp at sky[~]> cd /tmp/
> jeremyp at sky[/tmp]> mkdir test
> jeremyp at sky[/tmp]> cd test/
> jeremyp at sky[/tmp/test]> hg init
> jeremyp at sky[/tmp/test]> hg --version
> Mercurial Distributed SCM (version 2.9.2)
> (see http://mercurial.selenic.com for more information)
> 
> Copyright (C) 2005-2014 Matt Mackall and others
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> jeremyp at sky[/tmp/test]> dpkg -l mercurial
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                                           Version                      Architecture                 Description
> +++-==============================================-============================-============================-==================================================================================================
> ii  mercurial                                      2.9.2-1                      amd64                        easy-to-use, scalable distributed version control system
> jeremyp at sky[/tmp/test]> hgview
> Traceback (most recent call last):
>   File "/usr/local/bin/hgview", line 38, in <module>
>     main()
>   File "/usr/local/lib/python2.7/dist-packages/hgviewlib/application.py", line 225, in main
>     sys.exit(start(repo, opts, args, parser.error))
>   File "/usr/local/lib/python2.7/dist-packages/hgviewlib/application.py", line 173, in start
>     app = Application(repo, opts, args)
>   File "/usr/local/lib/python2.7/dist-packages/hgviewlib/qt4/application.py", line 54, in __init__
>     super(HgViewQtApplication, self).__init__(*args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/hgviewlib/application.py", line 83, in __init__
>     self.choose_viewer()
>   File "/usr/local/lib/python2.7/dist-packages/hgviewlib/application.py", line 107, in choose_viewer
>     viewer = self.HgRepoViewer(self.repo)
>   File "/usr/local/lib/python2.7/dist-packages/hgviewlib/qt4/hgrepoviewer.py", line 90, in __init__
>     self.setupBranchCombo()
>   File "/usr/local/lib/python2.7/dist-packages/hgviewlib/qt4/hgrepoviewer.py", line 168, in setupBranchCombo
>     allbranches = sorted(self.repo.branchtags().items())
> AttributeError: 'localrepository' object has no attribute 'branchtags'
> 
Javier, could you add Breaks on "hgview (<< 1.8.1)" to mercurial in sid?

Thanks,
Julien
-- 
Julien Cristau          <julien.cristau at logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances



More information about the Python-apps-team mailing list