Mercurial > hg > CommitWatcher
diff commitwatcher/agent.py @ 11:546695da018c
commitwatcher/agent.py tests/unit.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 28 Sep 2013 05:15:59 -0700 |
parents | 7ae60d2ff1c2 |
children | a0ff003319ec |
line wrap: on
line diff
--- a/commitwatcher/agent.py Sat Sep 28 05:10:14 2013 -0700 +++ b/commitwatcher/agent.py Sat Sep 28 05:15:59 2013 -0700 @@ -3,6 +3,7 @@ """ import feedparser +import pypatch from abc import abstractmethod from .commit import Commit from .store import MemoryStore @@ -48,6 +49,10 @@ class FeedAgentDiff(FeedAgent): """read files from diff""" + @staticmethod + def lsdiff(diff): + + def diff_url(self, link): """ returns diff_url from revision link: