D4973: tests: use baseurl instead of advertisedbaseurl
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Oct 12 11:15:50 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf7ff5b4fe745: tests: use baseurl instead of advertisedbaseurl (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4973?vs=11839&id=11880
REVISION DETAIL
https://phab.mercurial-scm.org/D4973
AFFECTED FILES
tests/wireprotosimplecache.py
CHANGE DETAILS
diff --git a/tests/wireprotosimplecache.py b/tests/wireprotosimplecache.py
--- a/tests/wireprotosimplecache.py
+++ b/tests/wireprotosimplecache.py
@@ -127,7 +127,7 @@
paths.append(b'simplecache')
paths.append(self.key)
- url = b'%s/%s' % (self.req.advertisedbaseurl, b'/'.join(paths))
+ url = b'%s/%s' % (self.req.baseurl, b'/'.join(paths))
#url = b'http://example.com/%s' % self.key
self.ui.log('simplecache', 'sending content redirect for %s to '
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list