Make squash commits step more pythony in push-to-trunk script.
authormachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Dec 2013 15:05:53 +0000 (15:05 +0000)
committermachenbach@chromium.org <machenbach@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Dec 2013 15:05:53 +0000 (15:05 +0000)
commit7a8a098a5e68a6e5e253ffd564a189248f63d259
treea4fa827f9e36b6a6422c58482c742cc62445eb09
parent19f29c380ee96a345142013e2be0e52d3ff48720
Make squash commits step more pythony in push-to-trunk script.

Get rid of linux-only shell commands. Solve issue with quotation marks in commit messages.

Further behavioral change: Strip white space on line endings. Strip trailing new lines.

Test=python -m unittest test_scripts

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/101763002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18305 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
tools/push-to-trunk/push_to_trunk.py
tools/push-to-trunk/test_scripts.py