# HG changeset patch # User Jeff Hammel # Date 1380317033 25200 # Node ID 08dd6fbbec3a91724718e30ae13f8c0e9f0bc878 # Parent 2061b13f7aada4dddb70025d87fda2f1f0564004 commitwatcher/agent.py diff -r 2061b13f7aad -r 08dd6fbbec3a commitwatcher/agent.py --- a/commitwatcher/agent.py Fri Sep 27 14:04:04 2013 -0700 +++ b/commitwatcher/agent.py Fri Sep 27 14:23:53 2013 -0700 @@ -28,6 +28,10 @@ """feed URL""" return '/'.join((self.repository.rstrip('/'), 'atom-log')) + @abstractmethod + def files(self, revision): + """gets the files from the revision link""" + def update(self): """update""" @@ -37,6 +41,7 @@ # get paths from diff link = entry['link'] print link + files = self.files(link) # TODO # TODO commit = Commit()