filling in features and tests for hg and hg+svn
Review Request #1464 — Created March 8, 2010 and submitted — Latest diff uploaded
We're using ReviewBoard quite a bit now at AG Interactive and are beginning to experiment with Mercurial as our primary SCM/VCS/whatever instead of Subversion. Initial experiments with `post-review` and pure-Mercurial repos (not hgsubversion clones) have indicated that `post-review` is geared toward use with hgsubversion clones. This patch seeks to do the following: - fixes the assumption that `hg svn info` returning non-error means the working copy is an hgsubversion clone. - adds support for reading 'reviewboard.url' option from local hgrc (global hgrc support unimplemented) - adds support for posting reviews of locally-committed changes (old behavior only supported posting uncommitted changes) - adds support for `--parent` option to specify remote for outgoing diff - add tests for both hg and hg+svn client stuff
ran existing tests, wrote and ran new tests (included in patch)
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 10. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
rbtools/postreview.py |
---|
rbtools/tests.py |
---|