From 64548fb6e54a9fcdf853cc462a1f8deba29bf24f Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Sat, 19 Jan 2013 19:42:37 +0100 Subject: 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 --- rhodecode/model/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rhodecode/model/forms.py') 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) -- cgit v1.2.3