watchlist: Add support for matching added or deleted lines.
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 17:05:55 +0000 (17:05 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 17:05:55 +0000 (17:05 +0000)
commitbc79e41a6b498a2d399df830211f7d773cf41510
treef64a46ec01440ccd3d67b5845b4f7fc8380f46bc
parent41a49643c48906281664feaea1fc6dace53d3616
watchlist: Add support for matching added or deleted lines.
https://bugs.webkit.org/show_bug.cgi?id=68972

Reviewed by Adam Barth.

* Scripts/webkitpy/common/watchlist/changedlinepattern.py: Added.
* Scripts/webkitpy/common/watchlist/changedlinepattern_unittest.py: Added.
* Scripts/webkitpy/common/watchlist/watchlist.py: Comment fix up and fix input
to the pattern match to only have the diff lines instead of the DiffFile.
* Scripts/webkitpy/common/watchlist/watchlist_unittest.py:
Add tests for the new patterns and combinations of the patterns.
* Scripts/webkitpy/common/watchlist/watchlistparser.py:
Sort imports. Add changeline support.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/watchlist/changedlinepattern.py [new file with mode: 0644]
Tools/Scripts/webkitpy/common/watchlist/changedlinepattern_unittest.py [new file with mode: 0644]
Tools/Scripts/webkitpy/common/watchlist/watchlist.py
Tools/Scripts/webkitpy/common/watchlist/watchlist_unittest.py
Tools/Scripts/webkitpy/common/watchlist/watchlistparser.py