Message6367

Author azraiyl
Recipients djc, mpm
Date 2008-06-20.13:31:38
Content
Because dispatch.py cares about --encoding the web:encoding encoding has to be
set before. Either dispatch.py is (heavily) modified so the --encoding is set
later or dispatch.py does somehow know that "hg serve" has not default behavior.

if cmd == "serve":
  if foo.config("web", "encoding"):
    util._encoding = foo.config("web", "encoding")
if options["encoding"]:
  util._encoding = options["encoding"]

But hey guys i think you know 100 times better than me where a fix would be
appropriate. Or do you play snakes and ladders with me - ding ding - wrong path,
go back to start and try once more :)
History
Date User Action Args
2008-06-20 13:31:38azraiylsetmessageid: <1213968698.74.0.229491797464.issue1183@selenic.com>
2008-06-20 13:31:38azraiylsetrecipients: + mpm, djc
2008-06-20 13:31:38azraiyllinkissue1183 messages
2008-06-20 13:31:38azraiylcreate