[Bug 4913] New: Unable to browse repository using Hg Web on local host

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Oct 22 18:06:53 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4913

            Bug ID: 4913
           Summary: Unable to browse repository using Hg Web on local host
           Product: Mercurial
           Version: 3.5.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: hgweb
          Assignee: bugzilla at selenic.com
          Reporter: honasgraeymael at gmail.com
                CC: mercurial-devel at selenic.com

I have installed mercurial via TortoiseHG version 3.5.2 onto my Windows 7
machine(internet explorer 11). I am easily able to add & commit files. I can
see that files have been committed using TortoiseHg, and even the command line
however when I start the webserver(Hg Serve), after getting listening at
http://my.host.name:8888/ (bound to *:8888)

I try to browse the repository on localhost I get most of the web-page but none
of the files are visible i.e. the contents for log,graph etc are just blank, I
can see the options down the left hand side (log,graph,browse,tags,the logo etc
) but nothing on the files.

I can see that the webserver is responding as whenever I click on items such as
log,graph browse,tags etc I can see updates in the Hg webserver 'console'
window.

I can't see what's wrong. I did try and inspect using the internet explorer 11
developer options. I saw errors related object not found and it was pointing to
a mercurial.js file. I have only performed a default install

A little more tinkering using the developer tools in IE, and as far as I can
tell the issue is related to mercurial.js. I keep getting ajaxScrollInit(...
object not found, something or other about line 374 in the mercurial.js file. I
have no idea what it means, maybe someone else has a hint

Initially I was using the latest(recent) version of TortoiseHG version 3.5.2 on
Windows 7 And I certainly couldn't get the content displayed. I even tried to
view localhost using Firefox, with no success. I finally uninstalled THg and
went back to version 3.2, still no success (with IE or FireFox), I decided to
skip back to version 2.4.3, which installs Hg version 2.3 and hey presto hgweb
displays all the content, even the graph works, no errors. I don't know what
has changed since 2.3 and 3.x and I don't know if its windows specific. I did
post this question on StackOverflow before raising this. No-one there was able
to shed any light.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list