Reviewers: ulan,

Message:
PTAL

Description:
Refactoring: Redesign option parsing in push and merge scripts.

- Deprecate optparse with argparse
- Connect the top-level scripts via inheritance and remove top-level functions - Options and option processing can be extended from base to subclass script in
template methods
- All options have now long names
- The tests include now options parsing by default: each test specifies the
command-line args to parse rather than the options directly

Please review this at https://codereview.chromium.org/173983002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+280, -358 lines):
  M tools/push-to-trunk/auto_roll.py
  M tools/push-to-trunk/common_includes.py
  M tools/push-to-trunk/merge_to_branch.py
  M tools/push-to-trunk/push_to_trunk.py
  M tools/push-to-trunk/test_scripts.py


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to