[Trac-tickets] [The Trac Project] #2353: Timeline out of order when
viewing SVK repository
The Trac Project
noreply at edgewall.com
Mon Nov 14 10:32:15 CST 2005
#2353: Timeline out of order when viewing SVK repository
-----------------------------+----------------------------------------------
Reporter: kmr at flymine.org | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: timeline | Version: devel
Severity: minor | Keywords: |
-----------------------------+----------------------------------------------
My SVK repository has two projects mirrored (call them A and B). I loaded
B second, hence it's revision numbers are higher than those from project
A. When I initially viewed the timeline for the last 30 days, none of A's
changes appeared even though I knew that changes had occurred. Viewing
1000 days worth of changes gave me the full timeline. I think perhaps the
changeset timeline code assumes that the dates on the revisions will be in
the same order as the revision numbers, which isn't always true when using
SVK.
This change seems to fix things, at the expense of some speed:
{{{
Index: changeset.py
===================================================================
--- changeset.py (revision 2530)
+++ changeset.py (working copy)
@@ -114,7 +114,8 @@ class ChangesetModule(Component):
chgset = repos.get_changeset(rev)
if chgset.date < start:
- return
+ rev = repos.previous_rev(rev)
+ continue
if chgset.date < stop:
message = chgset.message or '--'
if format == 'rss':
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2353>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list