# HG changeset patch # User Jeff Hammel # Date 1380259631 25200 # Node ID 2bc7eee1120785b16894974194a45225668a6991 # Parent 134cdb6a882c4ea8bbb3e26a2ffa84e0adf4651f mozbasewatcher.py diff -r 134cdb6a882c -r 2bc7eee11207 mozbasewatcher.py --- a/mozbasewatcher.py Thu Sep 26 22:19:07 2013 -0700 +++ b/mozbasewatcher.py Thu Sep 26 22:27:11 2013 -0700 @@ -9,18 +9,21 @@ import optparse import os import sys -from +from commitwatcher import FeedAgent here = os.path.dirname(os.path.realpath(__file__)) def main(args=sys.argv[1:]): + # parse command line args usage = '%prog [options]' parser = optparse.OptionParser(usage=usage, description=__doc__) options, args = parser.parse_args(args) + # watch mozilla-central repo = 'http://hg.mozilla.org/mozilla-central' - + watcher = FeedAgent(repository=repo) + watcher.update() if __name__ == '__main__': main()