Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision 4ad802e7597c3fd2c03ce42e6541b9cd51189f07 authored by Pierre-Yves David on 11 September 2013, 23:39:40 UTC, committed by Pierre-Yves David on 11 September 2013, 23:39:40 UTC
We extract the part about revset execution in a dedicated function. This part of
the code is more complicated than it could be because we have to be compatible
with all supported version of Mercurial:

- version older than 2.1 does not have the `repo.revs` methods
- version older than 2.5 need to apply hidden changeset filtering by hand.

So we move it in a dedicated function. That will help use to split the building
of the revset and it's execution. Revision filtering in hgview needs to provides
its own revset.
1 parent ce23403
History
Tip revision: 4ad802e7597c3fd2c03ce42e6541b9cd51189f07 authored by Pierre-Yves David on 11 September 2013, 23:39:40 UTC
[hggraph] revset execution in a dedicated query
Tip revision: 4ad802e
File Mode Size
tests
__init__.py -rw-r--r-- 2.8 KB
application.py -rw-r--r-- 12.0 KB
canvas.py -rw-r--r-- 4.7 KB
exceptions.py -rw-r--r-- 1.2 KB
graphlog.py -rw-r--r-- 13.6 KB
helpviewer.py -rw-r--r-- 3.4 KB
hgrepoviewer.py -rw-r--r-- 17.9 KB
mainframe.py -rw-r--r-- 10.2 KB
manifest.py -rw-r--r-- 5.4 KB
utils.py -rw-r--r-- 12.5 KB
widgets.py -rw-r--r-- 5.8 KB

back to top