Skip to content
Snippets Groups Projects
  1. Nov 07, 2009
  2. Nov 04, 2009
  3. Nov 02, 2009
  4. Oct 28, 2009
  5. Oct 26, 2009
  6. Oct 25, 2009
  7. Oct 23, 2009
  8. Oct 20, 2009
  9. Sep 28, 2009
  10. Nov 07, 2009
  11. Nov 05, 2009
  12. Oct 17, 2009
    • Jesse Glick's avatar
      Sometimes pushing to an HTTP repo fails with a useless message. · 67e5d5a2
      Jesse Glick authored
        abort: 'https://.../.../' does not appear to be an hg repository!
      
      Ought to produce a better diagnostics on the client. With patched 1.3.1,
      observed to produce an Apache HTML error message (from cgitb) including the
      vital text:
      
        File ".../hgwebdir.cgi", line 70, in ?
          wsgicgi.launch(application)
        File "mercurial/hgweb/wsgicgi.py", line 68, in launch
        File "mercurial/hgweb/hgwebdir_mod.py", line 91, in __call__
        File "mercurial/hgweb/hgwebdir_mod.py", line 148, in run_wsgi
        File "mercurial/hgweb/hgweb_mod.py", line 100, in run_wsgi
        File "mercurial/hgweb/protocol.py", line 156, in unbundle
        File "mercurial/localrepo.py", line 2031, in addchangegroup
        File "mercurial/revlog.py", line 1204, in addgroup
      LookupError: 00manifest.i@......: unknown parent
      
      Might also be helpful if server's hgweb_mod.run_wsgi caught unexpected errors
      and returned a well-formed error response including the stack trace. The client
      patch would still be useful in this case, because it would let you diagnose
      issues with HTTP proxy servers and so on.
      67e5d5a2
  13. Oct 26, 2009
  14. Nov 07, 2009
Loading