Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,122 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you