hg-git woes

Bob Hood bhood2 at comcast.net
Tue Mar 21 16:07:15 UTC 2017


Thanks for the reply, Cody.

On 3/21/2017 9:45 AM, Cody Scott wrote:
> Have you tried just pushing the bookmark? (eg. `hg push -B master`)

I just tried your suggestion ('hg push -B master'), but unfortunately I get 
the same 'forcibly closed' result.

>
> I have only had luck when I add a remote with ssh:// which requires adding 
> your public key to GitHub.

Can you point me to a link that documents that?


>
>
> On Tue, Mar 21, 2017 at 11:23 AM, Bob Hood <bhood2 at comcast.net 
> <mailto:bhood2 at comcast.net>> wrote:
>
>     I've been using the hg-git extension to push local project commits up to
>     github.com <http://github.com>.  With single commits, it is usually
>     hit-or-miss whether or not the push succeeds.  If I continue to try, it
>     usually happens.
>
>     Now, I've collected several commits (I should have pushed them
>     individually, I know), and no amount of pushing or rebooting of my
>     machine (to reset the NIC) is succeeding:
>
>         [default] $ hg push --debug
>         pushing to https://github.com/xxxxxx/xxxxxxxx.git
>         <https://github.com/xxxxxx/xxxxxxxx.git>
>         finding hg commits to export
>         keyring: base url: https://github.com/xxxxxx/xxxxxxxx.git/info/refs
>         <https://github.com/xxxxxx/xxxxxxxx.git/info/refs>, url user: , url pwd:
>         keyring: Checking for hgrc info about url
>         https://github.com/xxxxxx/xxxxxxxx.git/info/refs
>         <https://github.com/xxxxxx/xxxxxxxx.git/info/refs>, user None
>         keyring: Password url: https://github.com, user: xxxxxxx, password: 
>         (prefix: github.com <http://github.com>)
>         keyring: looking for password (user xxxxxxx, url https://github.com)
>         keyring: Password found in keyring
>         searching for changes
>         5 commits found
>         list of commits:
>         04a76d010d97a7605bee45b8c618edd5b2b638d5
>         a888da78bc0af97c9a277400b45f109e4bd57288
>         8b01bcb139d763a8f722b19921180082e5efd540
>         09d5c45353f8105879c6f04f8286d5fffd0c19cb
>         d9d3ccf12b3b0fe0f28c9a5decf2d21a80236adc
>         adding objects
>         /*abort: error: An existing connection was forcibly closed by the
>         remote host*/
>
>     I'm using Mercurial version 4.1.1 under Windows (installed with
>     TortoiseHG), with the "hggit=" and "hgext.bookmarks=" enabled in my main
>     mercurial.ini file.
>
>     Can anybody suggest something else I can try?
>
>
>     _______________________________________________
>     Mercurial mailing list
>     Mercurial at mercurial-scm.org <mailto:Mercurial at mercurial-scm.org>
>     https://www.mercurial-scm.org/mailman/listinfo/mercurial
>     <https://www.mercurial-scm.org/mailman/listinfo/mercurial>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170321/c56ccb83/attachment-0002.html>


More information about the Mercurial mailing list