From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <7d3530220908110937u5531ebb2x694612602c8d4a3b@mail.gmail.com> Date: Tue, 11 Aug 2009 11:03:19 -0700 Message-ID: <7d3530220908111103j5376159wac421d81ac9357e4@mail.gmail.com> From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Plan 9 hg with private repositories Topicbox-Message-UUID: 41f6fe68-ead5-11e9-9d60-3106f5b1d025 On Tue, Aug 11, 2009 at 10:52 AM, Russ Cox wrote: > On Tue, Aug 11, 2009 at 9:37 AM, John Floren wrote: >> Hi >> >> So I'm trying to clone a private repository I just created on >> bitbucket. This is what I see: >> >> jerq% hg clone https://@bitbucket.org/// >> destination directory: >> http authorization required >> realm: Bitbucket.org HTTP >> user: >> abort: could not import module msvcrt! > > Surely there is a version of https support > that doesn't involve msvcrt? =C2=A0That's a > Windows DLL. > I have hacked up python's getpass.py to do password-prompting for Plan 9, so I can now do https authentication. I'll send the modified getpass.py to 9fans after I've made sure it works ok. My Python-fu is not great, so right now it just always assumes you're using Plan 9 (bad). >> If I try with ssh instead: >> jerq% hg -v clone ssh://hg@bitbucket.org/// >> running ssh hg@bitbucket.org "hg -R // serve --stdio" >> abort: no suitable response from remote hg! > > Presumably this is because ssh is sshv1 > but bitbucket requires sshv2. > I did 'bind /bin/openssh/ssh /bin/ssh' before running this hg command, but to no avail. I do have my public keys uploaded, so there shouldn't be a problem there... however now that https works I don't necessarily need the ssh support. John --=20 "Object-oriented design is the roman numerals of computing" -- Rob Pike