Refactor extract_{summary,description} to use parsed revisions.
Review Request #5221 — Created Jan. 8, 2014 and submitted — Latest diff uploaded
Refactor
extract_
{summary
,description
} to use parsed revisions.The methods to extract the summary and description (used for guessing the
fields for posting, and for matching open review requests with -u) were using
the old revision range, and were a bit ad-hoc. This cleans them up to always
use the parsed revision spec (except in the case of hgsubversion, which is a
pretty "special" case).
- Ran unit tests
- Posted this change with -g using this code.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
rbtools/clients/__init__.py |
---|
rbtools/clients/bazaar.py |
---|
rbtools/clients/git.py |
---|
rbtools/clients/mercurial.py |
---|
rbtools/commands/post.py |
---|