SourceTree/OSX/Mercurial - Error trying to clone, pull, push after changing credentials

Using SourceTree 2.6.3 (134) on OS X Sierra.  I tried to change the credentials for my Mercurial repository, and now any attempt to pull, push, or clone a new repo results in an error, listed below.  I've tried removing and reinstalling SourceTree entirely and I still get the same result.  



hg pull -u default 

pulling from https://my url

Error calling askpass for username: 2017-10-09 10:43:59.269 SourceTreeLogin[9666:377251] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSPlaceholderMutableString initWithString:]: nil argument'

*** First throw call stack:


0   CoreFoundation                      0x00007fff9706857b __exceptionPreprocess + 171

1   libobjc.A.dylib                     0x00007fffac2c71da objc_exception_throw + 48

2   CoreFoundation                      0x00007fff970e5c55 +[NSException raise:format:] + 197

3   Foundation                          0x00007fff989f8ad1 -[NSPlaceholderMutableString initWithString:] + 96

4   Foundation                          0x00007fff98a363c4 +[NSString stringWithString:] + 45

5   SourceTreeLogin                     0x000000010015c0c6 SourceTreeLogin + 12486

6   SourceTreeLogin                     0x000000010015beec SourceTreeLogin + 12012

7   SourceTreeLogin                     0x0000000100178972 SourceTreeLogin + 129394

8   SourceTreeLogin                     0x000000010017ec83 SourceTreeLogin + 154755

9   SourceTreeLogin                     0x000000010015a9e0 SourceTreeLogin + 6624

10  libdyld.dylib                       0x00007fffacba8235 start + 1


libc++abi.dylib: terminating with uncaught exception of type NSException

abort: http authorization required for https://my url

Completed with errors, see above

1 answer

0 votes

Please file a ticket at with those details and we'll take it from there. Thanks for the report!

Brian Ganninger
Senior Mac Developer, Sourcetree

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,207 views 4 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you