Staging
v0.5.0
https://foss.heptapod.net/mercurial/hgview
Revision be670f46836846f4010b82ca4c2ad3e217ad24cf authored by Alain Leufroy on 11 June 2013, 16:58:04 UTC, committed by Alain Leufroy on 11 June 2013, 16:58:04 UTC
On some repo the tree graph was not full filled.

The problem comes from the selection of the working directory parent.

To select the wd parent we ensure it has already been built.
This action encreases the number of built nodes in revision tree
(see ``hggraph.Graph.build_nodes``: requested revision + nnodes)

But we ensure the wd parent is built the first time the model is
filled. It is performed after the first graph rendering but before the
timer event that refreshes the tree graph.

In some case the first rendering displays only a partial revisions
tree graph. Once displayed the wd parent selection complete the
revision tree in cache but not yet on the screen.

If the revision tree is full filled, the table row count is not
updated (see the diff) while a part of the revision tree graph is
still missing.


Introduced by `always select the working directory at startup <fb5ee4cf21dd>`_
due to `New implementation of the background graph building mecanism <e28a5e3dc5c4>`_.

.. note:: I will factorize code in the next commit.
1 parent 60548a5
Raw File
Tip revision: be670f46836846f4010b82ca4c2ad3e217ad24cf authored by Alain Leufroy on 11 June 2013, 16:58:04 UTC
[qt4] Fix partial tree graph filling
Tip revision: be670f4
MANIFEST.in
exclude .hgignore
recursive-exclude debian *
recursive-exclude test *
recursive-exclude debian.hardy *
recursive-exclude debian.lenny *
recursive-exclude debian.intrepid *

include ChangeLog
include COPYING
include README

include bin/hgview
include bin/hgview.bat

include hgviewlib/qt4/*.ui
include hgviewlib/qt4/*.py
include hgviewlib/qt4/hgqv.qrc
include hgviewlib/qt4/icons/*

include hgviewlib/curses/*.py

include doc/hgview.1.txt
include doc/Makefile
include hgext/hgview.py

include hgext/hgview.rc
include doc/hgqv.1
include setup.py
include __pkginfo__.py
include test/data/hgviewrc
include test/data/.hgviewrc


recursive-include etc *
back to top