diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2013-01-19 19:42:37 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2013-01-19 19:42:37 +0100 |
commit | 64548fb6e54a9fcdf853cc462a1f8deba29bf24f (patch) | |
tree | fd6cc8d55885131627fcc71dab273e6de06c06aa /rhodecode/model/forms.py | |
parent | 8d7e3b2efdaac9d16547b3e4b02767eb6f63ef91 (diff) |
set the status of changesets initially on pull request, and make sure we care of version collisions.
Fixes issues #690 and #587
--HG--
branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r-- | rhodecode/model/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py index 851640d8..d7c9d38f 100644 --- a/rhodecode/model/forms.py +++ b/rhodecode/model/forms.py @@ -365,7 +365,8 @@ def PullRequestForm(repo_id): org_ref = v.UnicodeString(strip=True, required=True) other_repo = v.UnicodeString(strip=True, required=True) other_ref = v.UnicodeString(strip=True, required=True) - revisions = All(v.NotReviewedRevisions(repo_id)(), v.UniqueList(not_empty=True)) + revisions = All(#v.NotReviewedRevisions(repo_id)(), + v.UniqueList(not_empty=True)) review_members = v.UniqueList(not_empty=True) pullrequest_title = v.UnicodeString(strip=True, required=True, min=3) |