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

            Bug ID: 6833
           Summary: Im not able to clone the mercurial repository.
           Product: Mercurial
           Version: 6.4.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: acl
          Assignee: bugzi...@mercurial-scm.org
          Reporter: madhura.ravin...@nuware.com
                CC: mercurial-de...@mercurial-scm.org
    Python Version: ---

Getting below error

% hg clone --verbose http://localhost:80/hg/repo1 "D:\repo1"
http authorization required for http://localhost:80/hg/repo1
realm: mercurial repo
 real URL is http://localhost/hg/repo1/
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64
bit (AMD64)]
** Mercurial Distributed SCM (version 6.4.2)
** Extensions loaded: strip, tortoisehg.util.hgcommands 6.4.2,
tortoisehg.util.hgdispatch 6.4.2, tortoisehg.util.partialcommit 6.4.2,
tortoisehg.util.pipeui 6.4.2, tortoisehg.util.win32ill 6.4.2
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64
bit (AMD64)]
** Mercurial Distributed SCM (version 6.4.2)
** Extensions loaded: strip, tortoisehg.util.hgcommands 6.4.2,
tortoisehg.util.hgdispatch 6.4.2, tortoisehg.util.partialcommit 6.4.2,
tortoisehg.util.pipeui 6.4.2, tortoisehg.util.win32ill 6.4.2
Traceback (most recent call last):
  File "mercurial\httppeer.pyc", line 631, in make_peer
  File "mercurial\httppeer.pyc", line 615, in makepeer
  File "mercurial\httppeer.pyc", line 570, in performhandshake
  File "mercurial\httppeer.pyc", line 350, in parsev1commandresponse
mercurial.error.RepoError: b'\'http://localhost:80/hg/repo1\' does not appear
to be an hg repository:\n---%<--- (text/html;charset=UTF-8)\n<!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<html>\n <head>\n  <title>Index of
/hg/repo1</title>\n </head>\n <body>\n<h1>Index of /hg/repo1</h1>\n<ul><li><a
href="/hg/"> Parent Directory</a></li>\n<li><a href=".hg/">
.hg/</a></li>\n<li><a href=".hgignore"> .hgignore</a></li>\n<li><a
href=".htaccess"> .htaccess</a></li>\n<li><a href="odysseyteam.csv">
odysseyteam.csv</a></li>\n</ul>\n</body></html>\n\n---%<---\n'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "hg", line 58, in <module>
  File "mercurial\dispatch.pyc", line 143, in run
  File "mercurial\dispatch.pyc", line 232, in dispatch
  File "mercurial\dispatch.pyc", line 276, in _rundispatch
  File "mercurial\dispatch.pyc", line 451, in _runcatch
  File "mercurial\dispatch.pyc", line 461, in _callcatch
  File "mercurial\scmutil.pyc", line 153, in callcatch
  File "mercurial\dispatch.pyc", line 441, in _runcatchfunc
  File "mercurial\dispatch.pyc", line 1266, in _dispatch
  File "mercurial\dispatch.pyc", line 899, in runcommand
  File "mercurial\dispatch.pyc", line 1278, in _runcommand
  File "mercurial\dispatch.pyc", line 1264, in <lambda>
  File "mercurial\util.pyc", line 1881, in check
  File "mercurial\commands.pyc", line 6655, in serve
  File "mercurial\server.pyc", line 166, in runservice
  File "mercurial\commandserver.pyc", line 461, in run
  File "mercurial\commandserver.pyc", line 395, in serve
  File "mercurial\commandserver.pyc", line 369, in serveone
  File "mercurial\commandserver.pyc", line 350, in runcommand
  File "mercurial\commandserver.pyc", line 289, in _dispatchcommand
  File "mercurial\dispatch.pyc", line 232, in dispatch
  File "mercurial\dispatch.pyc", line 276, in _rundispatch
  File "mercurial\dispatch.pyc", line 451, in _runcatch
  File "mercurial\dispatch.pyc", line 461, in _callcatch
  File "mercurial\scmutil.pyc", line 153, in callcatch
  File "mercurial\dispatch.pyc", line 441, in _runcatchfunc
  File "tortoisehg\util\hgdispatch.pyc", line 27, in _dispatch
  File "mercurial\dispatch.pyc", line 1266, in _dispatch
  File "mercurial\dispatch.pyc", line 899, in runcommand
  File "mercurial\dispatch.pyc", line 1278, in _runcommand
  File "mercurial\dispatch.pyc", line 1264, in <lambda>
  File "mercurial\util.pyc", line 1881, in check
  File "mercurial\commands.pyc", line 1982, in clone
  File "mercurial\hg.pyc", line 718, in clone
  File "mercurial\hg.pyc", line 257, in peer
  File "mercurial\httppeer.pyc", line 636, in make_peer
  File "mercurial\statichttprepo.pyc", line 266, in make_peer
AttributeError: 'bytes' object has no attribute 'loc'
cmdserver: process exited unexpectedly with code 255

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to