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

            Bug ID: 6060
           Summary: Cloning a repository with --debug fails
           Product: Mercurial
           Version: 4.8.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: datoo...@gmail.com
                CC: mercurial-devel@mercurial-scm.org

We are having issue cloning the following repository:
https://bitbucket.org/felicitasmedia/gnatta/src/default/\\ 
The majority of our users cannot clone the repository. This means that our
build agents can no longer update, this means we can't build the solution.

I have tried both https & ssh but this fails.

The following error occurs consistently:
applying clone bundle from
https://api.media.atlassian.com/file/5a2c9657-2e8b-4e82-bba4-15f3307ba404/binary?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjMWNiYzdhYy01Mzc1LTQ1YTktYTQ5MS05N2IyYjllYWIzYTUiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOjVhMmM5NjU3LTJlOGItNGU4Mi1iYmE0LTE1ZjMzMDdiYTQwNCI6WyJyZWFkIl19LCJuYmYiOjE1NDgyMzM5NjUsImV4cCI6MTU0ODIzNDM4NX0.aS1x3hujgsFVTzCmpVRM_Rq_YDIBSm6pL05ZilRO3qo&client=c1cbc7ac-5375-45a9-a491-97b2b9eab3a5\\
adding changesets
files [==================================================> ] 12531/22465
1m13ssts
adding file changes
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker\\ ** Python 2.7.15
(v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.6.1)
** Extensions loaded:
Traceback (most recent call last):
File "hg", line 41, in <module>
File "mercurial\dispatch.pyc", line 90, in run
File "mercurial\dispatch.pyc", line 210, in dispatch
File "mercurial\dispatch.pyc", line 351, in _runcatch
File "mercurial\dispatch.pyc", line 359, in _callcatch
File "mercurial\scmutil.pyc", line 160, in callcatch
File "mercurial\dispatch.pyc", line 341, in _runcatchfunc
File "mercurial\dispatch.pyc", line 971, in _dispatch
File "mercurial\dispatch.pyc", line 727, in runcommand
File "mercurial\dispatch.pyc", line 979, in _runcommand
File "mercurial\dispatch.pyc", line 968, in <lambda>
File "mercurial\util.pyc", line 1553, in check
File "mercurial\commands.pyc", line 1467, in clone
File "mercurial\hg.pyc", line 709, in clone
File "mercurial\exchange.pyc", line 1482, in pull
File "mercurial\exchange.pyc", line 2213, in _maybeapplyclonebundle
File "mercurial\exchange.pyc", line 2409, in trypullbundlefromurl
File "mercurial\bundle2.pyc", line 353, in applybundle
File "mercurial\bundle2.pyc", line 460, in processbundle
File "mercurial\bundle2.pyc", line 467, in processparts
File "mercurial\bundle2.pyc", line 423, in __exit__
zlib.error: Error -3 while decompressing: invalid block type

I have upgrade to the latest version of Mercurial and get the following:
$ hg clone ssh://h...@bitbucket.org/felicitasmedia/gnatta
destination directory: gnatta
applying clone bundle from
https://api.media.atlassian.com/file/5a2c9657-2e8b-4e82-bba4-15f3307ba404/binary?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjMWNiYzdhYy01Mzc1LTQ1YTktYTQ5MS05N2IyYjllYWIzYTUiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOjVhMmM5NjU3LTJlOGItNGU4Mi1iYmE0LTE1ZjMzMDdiYTQwNCI6WyJyZWFkIl19LCJuYmYiOjE1NDgyMzgyNjUsImV4cCI6MTU0ODIzODY4NX0.DXPIvdVFkkfCEYNnDNP6uCjTrmW6CZenxMTsMU1Totg&client=c1cbc7ac-5375-45a9-a491-97b2b9eab3a5
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64
bit (AMD64)]
** Mercurial Distributed SCM (version 4.4.1)
** Extensions loaded:
Traceback (most recent call last):
  File "hg", line 41, in <module>
  File "mercurial\dispatch.pyc", line 85, in run
  File "mercurial\dispatch.pyc", line 173, in dispatch
  File "mercurial\dispatch.pyc", line 313, in _runcatch
  File "mercurial\dispatch.pyc", line 321, in _callcatch
  File "mercurial\scmutil.pyc", line 154, in callcatch
  File "mercurial\dispatch.pyc", line 303, in _runcatchfunc
  File "mercurial\dispatch.pyc", line 940, in _dispatch
  File "mercurial\dispatch.pyc", line 701, in runcommand
  File "mercurial\dispatch.pyc", line 948, in _runcommand
  File "mercurial\dispatch.pyc", line 937, in <lambda>
  File "mercurial\util.pyc", line 1183, in check
  File "mercurial\commands.pyc", line 1425, in clone
  File "mercurial\hg.pyc", line 670, in clone
  File "mercurial\exchange.pyc", line 1294, in pull
  File "mercurial\exchange.pyc", line 1936, in _maybeapplyclonebundle
  File "mercurial\exchange.pyc", line 2119, in trypullbundlefromurl
  File "mercurial\bundle2.pyc", line 342, in applybundle
  File "mercurial\bundle2.pyc", line 449, in processbundle
  File "mercurial\bundle2.pyc", line 456, in processparts
  File "mercurial\bundle2.pyc", line 412, in __exit__
zlib.error: Error -3 while decompressing: invalid block type


Locally, I can clone.  However, when I clone as follows - it fails:
λ hg clone --debug ssh://h...@bitbucket.org/felicitasmedia/gnatta

adding Felicitas.Cadence.Web.Public/Images/Blog/3-awards.png revisions
adding Felicitas.Cadence.Web.Public/Images/Blog/3-business-awards.jpg revisions
bundle2-input-part: total payload size 220496099
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit
(AMD64)]
** Mercurial Distributed SCM (version 4.8.2)
** Extensions loaded: eol
Traceback (most recent call last):
  File "hg", line 43, in <module>
  File "mercurial\dispatch.pyc", line 96, in run
  File "mercurial\dispatch.pyc", line 220, in dispatch
  File "mercurial\dispatch.pyc", line 363, in _runcatch
  File "mercurial\dispatch.pyc", line 371, in _callcatch
  File "mercurial\scmutil.pyc", line 166, in callcatch
  File "mercurial\dispatch.pyc", line 354, in _runcatchfunc
  File "mercurial\dispatch.pyc", line 994, in _dispatch
  File "mercurial\dispatch.pyc", line 737, in runcommand
  File "mercurial\dispatch.pyc", line 1003, in _runcommand
  File "mercurial\dispatch.pyc", line 991, in <lambda>
  File "mercurial\util.pyc", line 1644, in check
  File "mercurial\commands.pyc", line 1557, in clone
  File "mercurial\hg.pyc", line 756, in clone
  File "mercurial\exchange.pyc", line 1524, in pull
  File "mercurial\exchange.pyc", line 2452, in _maybeapplyclonebundle
  File "mercurial\exchange.pyc", line 2648, in trypullbundlefromurl
  File "mercurial\bundle2.pyc", line 353, in applybundle
  File "mercurial\bundle2.pyc", line 460, in processbundle
  File "mercurial\bundle2.pyc", line 467, in processparts
  File "mercurial\bundle2.pyc", line 423, in __exit__
zlib.error: Error -3 while decompressing: invalid distance code

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

Reply via email to