Staging
v0.5.1
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
hgview.1.txt
hgview(1)
=========
David Douard <david.douard@logilab.fr>

NAME
----
hgview - Qt based mercurial repository browser

SYNOPSIS
--------
'hgview' [options] [filename]

DESCRIPTION
-----------

hgview(1) is a GUI application usually invoked from the command
line. The simplest way to use it is to install it as a hg
extension. Alternatively, it can be used as a standalone application.

If [filename] is given, hgview will start in file-diff mode, in which
user can easily compare arbitrary revisions of a file.

Use ``hg help hgview`` for an extended help description

OPTIONS
-------

`-n`, --navigate (require a filename)::
    starts in filelog navigation mode

`-r REV`, --rev=REV::
    starts in manifest mode for given revision 

FILES
-----

~/.hgrc:: This is the standard file for configuring hg and its
    extensions. See `hg qv-config` for more details on what can be
    configured this way.
    
~/.hgusers:: This file holds configurations related to authors of
    patches in the hg repository. See `hg qv-config` for more details
    on what can be configured this way.

BUGS
----
Please report any found bug on the mailing list or via email.
Patches (or mercurial bundles) are always welcome.

AUTHOR
------
Current version has been mainly written by David Douard <david.douard@logilab.fr>,
based on hgview 0.x code which has been written by Ludovic Aubry, Graziella Toutoungis
and others. 

RESOURCES
---------
http://www.logilab.org/project/hgview

COPYRIGHT
---------
Copyright \(C) 2012 David Douard (david.douard@logilab.fr).
Copyright \(C) 2007-2012 LOGILAB S.A. (Paris, FRANCE), http://www.logilab.fr/ -- mailto:contact@logilab.fr

LICENSING
---------
This program is free software; you can redistribute it and/or modify it under  the  terms
of  the  GNU  General Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along  with  this  pro‐
gram;  if  not,  write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA.




back to top