# HG changeset patch # User Jeff Hammel # Date 1380742629 25200 # Node ID e65090645a180a1c2ff6f2ac4270901c9a6745ca # Parent f82d43bcb24e2fbde3c963f3e03cf4a39ed5c21c commitwatcher/store.py diff -r f82d43bcb24e -r e65090645a18 commitwatcher/store.py --- a/commitwatcher/store.py Wed Oct 02 08:55:59 2013 -0700 +++ b/commitwatcher/store.py Wed Oct 02 12:37:09 2013 -0700 @@ -44,5 +44,7 @@ paths = set() for commit in commits: for f in commit.files: - + for path in self.ancestry(f): + self.path_to_commit.set_default(path, []).append(commit) + # TODO: worry about commit order raise NotImplementedError