changeset 23:e65090645a18

commitwatcher/store.py
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 02 Oct 2013 12:37:09 -0700
parents f82d43bcb24e
children 60a67934c64e
files commitwatcher/store.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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