Implement guessing for submitted-revision posting in SVN
Review Request #9413 — Created Nov. 30, 2017 and discarded
Added support for guessing submitted revision posting in SVN. The summary and
description of a review request are populated with the commit message from a
submitted revision in SVN.
Manual Testing done.
Added unit test
ran nosetests -v; all tests passed.
Description | From | Last Updated |
---|---|---|
Setting commit = '' twice seems redundant here, but I might be missing something. |
RC rcreagha | |
Single quote '--rbtools-working-copy' |
TB tbrockma | |
Similarly, I believe here you can also use self.assertIsNone(commit) |
TB tbrockma | |
Might be better to use self.assertIn(collection, value) just so the purpose of the assertions are a bit more clear. ... … |
TB tbrockma | |
This should probably be: if (revisions['tip'] != SVNClient.REVISION_WORKING_COPY and not revisions['tip'].startswith( SVNClient.REVISION_CHANGELIST_PREFIX)): |
david | |
A couple small changes in here: desc -> description commited -> committed |
david | |
Can we add some blank lines in here to break things up? Or even split these two into separate test … |
david |
- Change Summary:
-
Added unit test for function.
- Summary:
-
[WIP] Implement guessing for submitted-revision posting in SVNImplement guessing for submitted-revision posting in SVN
- Testing Done:
-
~ Still have to do automatic. Have done manual and it's working.
~ Manual Testing done.
+ + Added unit test
+ + ran nosetests -v; all tests passed.
- Commit:
-
801f88b56300ab633396850cee03fc1152bf4a4ae393de25fa23734cef6e194fa91ebee402e21c6d
Checks run (2 succeeded)
- Change Summary:
-
Fixed double variable initalization.
- Commit:
-
e393de25fa23734cef6e194fa91ebee402e21c6d48d6114c91700741d538b1759a384488506279f5
Checks run (2 succeeded)
- Change Summary:
-
Syntax changes to be more clear, based on Theodore's insightful review
- Commit:
-
48d6114c91700741d538b1759a384488506279f5aed4ad9be8ac19cb77dd519726f723a3d94bc2ac