Changeset - 9855b31d033b
[Not reviewed]
beta
0 1 0
Mads Kiilerich - 13 years ago 2013-04-04 18:50:08
madski@unity3d.com
Grafted from: ef13f741f12f
pullrequests: fix changesets ordering being reversed when creating new pull requests

41b4edf77b5b tried to make the displayed order of changeset consistent: The
topmost is always the latest.

That did however also reverse the ordering of the changesets sent back in the
post when used in the pull request creation form. Displaying the pull request
later on would reverse it again and thus show it in the 'wrong' order.

We now undo that reversing when creating the pull requests, and the stored data
will thus be the same as before.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/pullrequests.py
Show inline comments
 
@@ -241,7 +241,7 @@ class PullrequestsController(BaseRepoCon
 
        org_ref = 'rev:merge:%s' % _form['merge_rev']
 
        other_repo = _form['other_repo']
 
        other_ref = 'rev:ancestor:%s' % _form['ancestor_rev']
 
        revisions = _form['revisions']
 
        revisions = reversed(_form['revisions'])
 
        reviewers = _form['review_members']
 

	
 
        title = _form['pullrequest_title']
0 comments (0 inline, 0 general)