D5723: tests: add b'' to config file name
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sat Jan 26 22:34:10 UTC 2019
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Without this, things die in the bowels of the config system
due to mixing str and bytes.
1. skip-blame: just b'' prefix
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5723
AFFECTED FILES
tests/test-oldcgi.t
CHANGE DETAILS
diff --git a/tests/test-oldcgi.t b/tests/test-oldcgi.t
--- a/tests/test-oldcgi.t
+++ b/tests/test-oldcgi.t
@@ -55,7 +55,7 @@
> # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
> # or use a dictionary with entries like 'virtual/path': '/real/path'
>
- > h = hgweb.hgwebdir("hgweb.config")
+ > h = hgweb.hgwebdir(b"hgweb.config")
> h.run()
> HGWEBDIR
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list