Mercurial > kallithea
comparison rhodecode/controllers/pullrequests.py @ 3324:c9b85375776d beta
compare: drop target_repo - it is always other_repo
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 04 Feb 2013 14:24:25 +0100 |
parents | 7ec5f9c1df45 |
children | f285faa3a602 |
comparison
equal
deleted
inserted
replaced
3323:a07296564f6b | 3324:c9b85375776d |
---|---|
297 other_ref = ('rev', getattr(c.cs_ranges[0].parents[0] | 297 other_ref = ('rev', getattr(c.cs_ranges[0].parents[0] |
298 if c.cs_ranges[0].parents | 298 if c.cs_ranges[0].parents |
299 else EmptyChangeset(), 'raw_id')) | 299 else EmptyChangeset(), 'raw_id')) |
300 | 300 |
301 c.statuses = org_repo.statuses([x.raw_id for x in c.cs_ranges]) | 301 c.statuses = org_repo.statuses([x.raw_id for x in c.cs_ranges]) |
302 c.target_repo = other_repo.repo_name | |
303 # defines that we need hidden inputs with changesets | 302 # defines that we need hidden inputs with changesets |
304 c.as_form = request.GET.get('as_form', False) | 303 c.as_form = request.GET.get('as_form', False) |
305 | 304 |
306 c.org_ref = org_ref[1] | 305 c.org_ref = org_ref[1] |
307 c.other_ref = other_ref[1] | 306 c.other_ref = other_ref[1] |