Changeset - 3534e75b2d5b
[Not reviewed]
beta
0 1 0
Mads Kiilerich - 13 years ago 2013-04-05 02:49:26
madski@unity3d.com
Grafted from: f4e5e907f2bf
pullrequests: don't pass unicode strings to Mercurial
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/pullrequests.py
Show inline comments
 
@@ -74,10 +74,14 @@ class PullrequestsController(BaseRepoCon
 
    def _get_repo_refs(self, repo, rev=None, branch_rev=None):
 
        """return a structure with repo's interesting changesets, suitable for
 
        the selectors in pullrequest.html"""
 

	
 
        # list named branches that has been merged to this named branch - it should probably merge back
 
        peers = []
 

	
 
        if rev:
 
            rev = safe_str(rev)
 

	
 
        if branch_rev:
 
            branch_rev = safe_str(branch_rev)
 
            # not restricting to merge() would also get branch point and be better
 
            # (especially because it would get the branch point) ... but is currently too expensive
 
            revs = ["sort(parents(branch(id('%s')) and merge()) - branch(id('%s')))" %
0 comments (0 inline, 0 general)