Hi,

seems your branch name needs url encoding. Maybe you could try this 
quickfix.
I did not test it as I don't have a development environment at the moment. 
So sorry if it throws errors.

diff --git a/reviewboard/scmtools/hg.py b/reviewboard/scmtools/hg.py
index bbf70cd7c..1e3fca175 100644
--- a/reviewboard/scmtools/hg.py
+++ b/reviewboard/scmtools/hg.py
@@ -378,7 +378,8 @@ class HgWebClient(SCMClient):
         if start:
             query_parts.append('ancestors(%s)' % start)
 
-        query_parts.append('branch(%s)' % (branch or '.'))
+        import urllib.parse
+        query_parts.append('branch(%s)' % (urllib.parse.quote_plus(branch) 
or '.'))
 
         query = '+and+'.join(query_parts)
 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/81cc588e-c12d-4ff5-a76b-466603cbc942%40googlegroups.com.

Reply via email to