Changeset - ddfb998e3898
[Not reviewed]
default
0 1 0
Mads Kiilerich - 11 years ago 2015-02-11 02:40:28
madski@unity3d.com
pullrequests: when creating a PR for a specific revision, look for updates on the branch name

TODO: consider bookmarks?
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/controllers/pullrequests.py
Show inline comments
 
@@ -324,6 +324,10 @@ class PullrequestsController(BaseRepoCon
 
        (org_ref_type,
 
         org_ref_name,
 
         org_rev) = org_ref.split(':')
 
        if org_ref_type == 'rev':
 
            org_ref_type = 'branch'
 
            org_ref_name = org_repo.scm_instance.get_changeset(org_rev).branch
 
            org_ref = '%s:%s:%s' % (org_ref_type, org_ref_name, org_ref_name)
 

	
 
        other_repo_name = _form['other_repo']
 
        other_ref = _form['other_ref'] # will have symbolic name and head revision
0 comments (0 inline, 0 general)