Sourcetree refusing to push changes

petelomax April 9, 2019

Last week I committed some changes but it failed

Attempts to push now just sit there for two or three *HOURS* before failing

hg push --new-branch Phix
pushing to https://petelomax@bitbucket.org/petelomax/phix
searching for changes
** Unknown exception encountered with possibly-broken third-party extension hgflow
** which supports versions unknown of Mercurial.
** Please disable hgflow and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 4.5.2)
** Extensions loaded: eol, rebase, transplant, extdiff, fetch, strip, mq, hgflow, shelve, mercurial_credential_manager

I tried updating everything I could (On Windows 10, Sourcetree, mercurial, python, and pip), and just got further lost.

I believe python is now 2.7.16 and mercurial (embedded) is 4.8.1

I disabled hgflow and got

Traceback (most recent call last):
File "hg", line 41, in <module>
File "mercurial\dispatch.pyc", line 88, in run
File "mercurial\dispatch.pyc", line 183, in dispatch
File "mercurial\dispatch.pyc", line 324, in _runcatch
File "mercurial\dispatch.pyc", line 332, in _callcatch
File "mercurial\scmutil.pyc", line 154, in callcatch
File "mercurial\dispatch.pyc", line 314, in _runcatchfunc
File "mercurial\dispatch.pyc", line 918, in _dispatch
File "mercurial\dispatch.pyc", line 673, in runcommand
File "mercurial\dispatch.pyc", line 926, in _runcommand
File "mercurial\dispatch.pyc", line 915, in <lambda>
File "mercurial\util.pyc", line 1195, in check
File "mercurial\util.pyc", line 1195, in check
File "hgext\mq.pyc", line 3583, in mqcommand
File "mercurial\util.pyc", line 1195, in check
File "mercurial\commands.pyc", line 4194, in push
File "mercurial\exchange.pyc", line 482, in push
File "mercurial\exchange.pyc", line 1041, in _pushbundle2
File "mercurial\wireproto.pyc", line 386, in unbundle
File "mercurial\httppeer.pyc", line 465, in _calltwowaystream
File "mercurial\httppeer.pyc", line 336, in _callstream
File "mercurial\httppeer.pyc", line 193, in _openurl
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 422, in http_error_auth_reqed
File "C:/Users/Pete/AppData/Local/Atlassian/SourceTree/hg_extras/mercurial_credential_manager.py", 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 426, in retry_http_basic_auth
File "C:/Users/Pete/AppData/Local/Atlassian/SourceTree/hg_extras/mercurial_credential_manager.py", line 428, in find_user_password
return self._pwd_handler.find_auth(self, realm, authuri, req)
File "C:/Users/Pete/AppData/Local/Atlassian/SourceTree/hg_extras/mercurial_credential_manager.py", line 259, in find_auth
if username[0]:
IndexError: list index out of range

Nothing has shown up on the web site.

Another try:

hg push --new-branch Phix
pushing to https://petelomax@bitbucket.org/petelomax/phix
searching for changes

abort: http error, possibly caused by proxy setting
Completed with errors, see above.
.
I tried to force the push and much later got a "password not set" message.
Changing it and deleting all saved passwords did not help.
(the logfile contains nothing beyond the commit desc).

hg commit -y --debug --traceback --logfile C:\Users\Pete\AppData\Local\Temp\ciyrpi5k.lpf
committing files:
docs/phix/src/test.htm
committing manifest
committing changelog
updating the branch cache
committed changeset 120:b4bd842de5f1418cc2dc92cd27429bf03faa32d7


hg push --debug --traceback --new-branch Phix
pushing to https://petelomax@bitbucket.org/petelomax/phix
using https://bitbucket.org/petelomax/phix
http auth: user petelomax, password not set
sending capabilities command
query 1; heads
sending batch command
searching for changes
all remote heads known locally
preparing listkeys for "phases"
sending listkeys command
received listkey for "phases": 15 bytes
checking for updated bookmarks
preparing listkeys for "bookmarks"
sending listkeys command
received listkey for "bookmarks": 0 bytes
sending branchmap command
preparing listkeys for "bookmarks"
sending listkeys command
received listkey for "bookmarks": 0 bytes
7 changesets found
list of changesets:
12f50aca78be1c19a50b1a4b76cdb6a6b44d0154
5ebfed69be34a978df985e47d5a818ba8712dd0a
e9a536625fc5eebf0cc253d15d7db4fa2664655c
ec6a8671046122e2565e29c8c3ae0f2bd47cb184
3d79d727365cd1402fcb6bf7ac294190b67d40cb
42de5f1418cc2dc92cd27429bf03faa32d7
bundle2-output-bundle: "HG20", 5 parts total
bundle2-output-part: "replycaps" 205 bytes payload
bundle2-output-part: "check:phases" 24 bytes payload
bundle2-output-part: "check:heads" streamed payload
bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
bundle2-output-part: "phase-heads" 24 bytes payload
sending unbundle command
sending 62264059 bytes
mercurial-credential-manager: base url: https://bitbucket.org/petelomax/phix, url user: , url pwd:
mercurial-credential-manager: Checking for hgrc info about url https://bitbucket.org/petelomax/phix, user petelomax
mercurial-credential-manager: Password url: https://bitbucket.org/petelomax/phix, user: petelomax, password: (prefix: None)
mercurial-credential-manager: mercurial-credential-manager: GUI GET: C:\Users\Pete\AppData\Local\Atlassian\SourceTree\hg_extras\mercurial-credential-manager.exe.

mercurial-credential-manager: mercurial-credential-manager: GUI GET:command= username=petelomax
host=bitbucket.org
protocol=https
path=petelomax/phix

Also, on https://bitbucket.org/petelomax/phix I am seeing "Repo activity is currently unavailable"

Oh, and there is no number under the push icon

Help needed!

1 answer

1 accepted

0 votes
Answer accepted
petelomax April 14, 2019

Solved: I (re-)installed the latest version of tortoisehg and ran tortoisehg workbench.

The last six or so pushes were shown with "phase" as "draft", so I changed each to "public" and pushed from there. There was no indication in sourcetree of anything being draft, I think I'll stop using sourcetree and switch to workbench from now on.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events