I was able to get the HG repository to show up by using easy_install
(e.g. easy_install mercurial) to install mercurial instead of using
the HG windows installer. Doing so involved installing mingw and
following the instructions at 

On Mar 23, 3:17 pm, akochnev <akoch...@gmail.com> wrote:
> I've installed Mercurial 1.8.1 from the official Mercurial windows
> binaries. Yet, when I navigate to the "New Review Request" page after
> creating the repository, the stack trace below shows up in the Apache
> logs . Is there anything special in setting up mercurial support in
> ReviewBoard beyond installing Mercurial ?
> ERROR:root:Error loading SCMTool for repository hg test (ID 1): DLL
> load failed: The specified module could not be found.
> Traceback (most recent call last):
>   File "C:\Python26\lib\site-packages\reviewboard-1.5.4-py2.6.egg
> \reviewboard\reviews\forms.py", line 109, in __init__
>     self.field_mapping[repo.id] = repo.get_scmtool().get_fields()
>   File "C:\Python26\lib\site-packages\reviewboard-1.5.4-py2.6.egg
> \reviewboard\scmtools\models.py", line 56, in get_scmtool
>     return cls(self)
>   File "C:\Python26\lib\site-packages\reviewboard-1.5.4-py2.6.egg
> \reviewboard\scmtools\hg.py", line 29, in __init__
>     self.client = HgClient(repository.path)
>   File "C:\Python26\lib\site-packages\reviewboard-1.5.4-py2.6.egg
> \reviewboard\scmtools\hg.py", line 166, in __init__
>     from mercurial import hg, ui
>   File "C:\Python26\lib\site-packages\mercurial\hg.py", line 10, in
> <module>
>     from lock import release
>   File "C:\Python26\lib\site-packages\mercurial\lock.py", line 8, in
> <module>
>     import util, error
>   File "C:\Python26\lib\site-packages\mercurial\util.py", line 17, in
> <module>
>     import error, osutil, encoding
> ImportError: DLL load failed: The specified module could not be found.
> On Mar 23, 2:28 pm, akochnev <akoch...@gmail.com> wrote:
> > I'm using ReviewBoard 1.5.4 on Windows. I create a new Mercurial
> > repository (hosted locally), add the path to the repository and save
> > it. However, later when I go to create a new review request the new
> > mercurial repository is not available in the dropdown box.
> > I originally installed Mercurial using the Mercurial installation
> > packages. However, later I saw the note that I might need to install
> > Mercurial through easy_install and I also did that. Yet, the hg
> > repositories are not showing up in the list of available repositories.

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to