[Bug 4377] New: HG Server Traceback on bad push URL

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Sep 19 14:08:18 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4377

          Priority: normal
            Bug ID: 4377
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: HG Server Traceback on bad push URL
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: sgrinwis at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.1
         Component: hgweb
           Product: Mercurial

Command is hg push,  pushing uncommitted changes.

Client side output is:

U:\reposync\farm\Conductor>hg push
pushing to http://wtl-hg.wtldev.net:52000/farm%5CConductor
searching for changes
abort: HTTP Error 500: Internal Server Error

Looks like the root error is coming from our 'prevent multiple heads on
incoming.py' hook script from the traceback

Traceback is:

Traceback (most recent call last):
File "C:\\Python27\\lib\\site-packages\\mercurial\\hgweb\\hgwebdir_mod.py",
line 153, in __call__
return self.run_wsgi(req)
File "C:\\Python27\\lib\\site-packages\\mercurial\\hgweb\\hgwebdir_mod.py",
line 219, in run_wsgi
return hgweb(repo).run_wsgi(req)
File "C:\\Python27\\lib\\site-packages\\mercurial\\hgweb\\hgweb_mod.py", line
174, in run_wsgi
return protocol.call(self.repo, req, cmd)
File "C:\\Python27\\lib\\site-packages\\mercurial\\hgweb\\protocol.py", line
76, in call
rsp = wireproto.dispatch(repo, p, cmd)
File "C:\\Python27\\lib\\site-packages\\mercurial\\wireproto.py", line 501, in
dispatch
return func(repo, proto, *args)
File "C:\\Python27\\lib\\site-packages\\mercurial\\wireproto.py", line 822, in
unbundle
proto._client())
File "C:\\Python27\\lib\\site-packages\\mercurial\\exchange.py", line 807, in
unbundle
r = changegroup.addchangegroup(repo, cg, source, url)
File "C:\\Python27\\lib\\site-packages\\mercurial\\changegroup.py", line 594,
in addchangegroup
repo.hook('prechangegroup', throw=True, source=srctype, url=url)
File "C:\\Python27\\lib\\site-packages\\mercurial\\localrepo.py", line 487, in
hook
return hook.hook(self.ui, self, name, throw, **args)
File "C:\\Python27\\lib\\site-packages\\mercurial\\hook.py", line 203, in hook
r = _pythonhook(ui, repo, name, hname, hookfn, args, throw) or r
File "C:\\Python27\\lib\\site-packages\\mercurial\\hook.py", line 89, in
_pythonhook
r = obj(ui=ui, repo=repo, hooktype=name, **args)
File "E:/hg/farm/Conductor/.hg/hook_prevent_multiple_heads_on_incoming.py",
line 6, in hook
for b in repo.branchtags():
AttributeError: 'lfilesrepo' object has no attribute 'branchtags'

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


More information about the Mercurial-devel mailing list