Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Sourcetree with embeded mercurial and TLS 1.0 deprecation.


Hello, since december 1 2018, bitbucket cloud have deprecated TLS 1.0 and 1.1

I am using bitbucket cloud using mercurial embeded version 4.6.2 and i am unable to commit anymore. Upgrading Sourcetree or the embeded mercurial version doesn't seems to work. Here is my error log. I hope it help.

hg commit -y --logfile C:\Users\[User]\AppData\Local\Temp\ztbppcxc.3gx

hg push --new-branch default
pushing to
** Unknown exception encountered with possibly-broken third-party extension mercurial_credential_manager
** which supports versions unknown of Mercurial.
** Please disable mercurial_credential_manager and try your action again.
** If that fixes the bug please report it to
** Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 4.6.2)
** Extensions loaded: rebase, transplant, extdiff, fetch, strip, mq, mercurial_credential_manager, hgflow, shelve

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\util.pyc", line 1553, in check
  File "hgext\mq.pyc", line 3599, in mqcommand
  File "mercurial\util.pyc", line 1553, in check
  File "mercurial\commands.pyc", line 4181, in push
  File "mercurial\hg.pyc", line 189, in peer
  File "mercurial\hg.pyc", line 163, in _peerorrepo
  File "mercurial\httppeer.pyc", line 987, in instance
  File "mercurial\httppeer.pyc", line 951, in makepeer
  File "mercurial\httppeer.pyc", line 871, in performhandshake
  File "mercurial\httppeer.pyc", line 311, in sendrequest
  File "urllib2.pyc", line 435, in open
  File "urllib2.pyc", line 548, in http_response
  File "urllib2.pyc", line 467, in error
  File "urllib2.pyc", line 407, in _call_chain
  File "urllib2.pyc", line 909, in http_error_401
  File "mercurial\url.pyc", line 463, in http_error_auth_reqed
  File "C:/Users/[user]/AppData/Local/Atlassian/SourceTree/hg_extras/", line 437, in basic_http_error_auth_reqed
    return basic_http_error_auth_reqed.orig(self, authreq, host, req, headers)
  File "urllib2.pyc", line 887, in http_error_auth_reqed
  File "mercurial\url.pyc", line 467, in retry_http_basic_auth
  File "C:/Users/[User]/AppData/Local/Atlassian/SourceTree/hg_extras/", line 428, in find_user_password
    return self._pwd_handler.find_auth(self, realm, authuri, req)
  File "C:/Users/[User]/AppData/Local/Atlassian/SourceTree/hg_extras/", line 259, in find_auth
    if username[0]:
IndexError: list index out of range

Completed with errors, see above.

1 answer

1 accepted

0 votes
Answer accepted

The workaround i've found at the moment is using TortoiseHg Workbench 4.8.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events