Labels: Type-Defect Priority-Medium
New issue 3216 by dotheb...@gmail.com: hg url not created correctly if no
trailing / in the repo URL, hg-history call will fail by removing the host
from the URL
What version are you running?
What's the URL of the page containing the problem?
create review request
What steps will reproduce the problem?
2.fails with 'failing to retrieve ....foo.cpp
So my configured repo URL looks like that:
this constructs the Request sent to reviewboard:
for rawpath in ["raw-file", "raw", "hg-history"]:
base_url = self.path.rstrip('/')<- will remove
127.0.0.1:8004 from the base url
if rawpath == 'hg-history':
base_url = self.path[:self.path.rfind('/')]
-> request will go to
Can be workarounded by configuring the repo with trailing /:
-> either HG-repos without trailing / have to be prohibited in the admin
interface, or this code has to become more clever.
however, even the corrected pattern still fails:
my repo is run by hg version 1.4 ran by /usr/bin/hg serve --name FOO -d -p
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.