Commit 6e7eb82f authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

tsio/log: add filtering by author

parent 18ec1df1edb9
......@@ -198,7 +198,7 @@ class TimeSerie(object):
stats['serie names'] = [row for row, in cn.execute(sql).fetchall()]
return stats
def log(self, cn, limit=0, diff=False, names=None, fromrev=None, torev=None):
def log(self, cn, limit=0, diff=False, names=None, authors=None, fromrev=None, torev=None):
"""Build a structure showing the history of all the series in the db,
per changeset, in chronological order.
......@@ -214,6 +214,9 @@ class TimeSerie(object):
if names:
sql = sql.where(
if authors:
sql = sql.where(
if fromrev:
sql = sql.where( >= fromrev)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment