Error setting up Mercurial on Windows Server 2008

前端 未结 1 1459
鱼传尺愫
鱼传尺愫 2020-12-18 07:25

I want to set up a Mercurial SC server and have been following the instructions found here: http//stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdir-on-i

1条回答
  •  南方客
    南方客 (楼主)
    2020-12-18 08:15

    The traceback in the very long line says that mercurial isn't found in your PYTHON_PATH. Try making the hgwebdir.cgi edit as seen in step 5.1 from the HgWebDirStopByStep page.

    # adjust python path if not a system-wide install:
    import sys
    sys.path.insert(0, "c:/dev/Mercurial/lib")
    

    Where, of course, the path element that's being inserted is adjusted to reference wherever your mercurial library files are.

    0 讨论(0)
提交回复
热议问题