The problem is can't push a new repo that has not already been created on the server. When I follow the instructions problems happen at the point marked with ***** """ Creating a Mercurial repository
If you already have a Mercurial repository you want to push to hg.sr.ht, you can skip this step. If not, open up a shell and run the following commands to create a test repository for experimenting with:
mkdir example cd example hg init echoHello world!>README.md hg add README.md hg commit -mInitial commit
This created a new Mercurial repository and added a README.md file to it, then created the initial commit. Pushing your repository to hg.sr.ht
Run the following command to push your changes to hg.sr.ht:
hg push ssh://email@example.com/~durian188/example
Since this repository didn't previously exist, you'll be prompted with a link to create the repository on hg.sr.ht - click that link and fill out the form on that page*****. You'll be redirected to your repository on hg.sr.ht: you're done!
""" at *** I don't get prompted with a link I get an error message saying the messages I submitted in my bug report.
I followed the getting instructions and have an ssh key in my profile - I assume it is correctly setup as as I can create repos via the web page and then push to them.
Additionally I go the following message when I attempted to reply to your message via email
Mail Delivery System MAILER-DAEMON@sr.ht
12:39 PM (6 minutes ago)
to me This is the mail system at host mail.sr.ht.
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
<~firstname.lastname@example.org>: host todo.sr.ht[18.104.22.168] said: 550 HTML emails are not permitted on SourceHut (in reply to end of DATA command)
On getting support page the section
"""Submitting bug reports
Each service of sr.ht has a dedicated bug tracker:
git.sr.ht builds.sr.ht todo.sr.ht lists.sr.ht man.sr.ht dispatch.sr.ht meta.sr.ht
has no url for hg.sr.ht
Following Setting up your account & first Mercurial repository hg push ssh://email@example.com/~********/example gave initially remote: firstname.lastname@example.org: Permission denied (publickey,keyboard-interactive). abort: no suitable response from remote hg!
but after further attempts (and creation of repos on the server via https://hg.sr.ht/create)
pushing to ssh://email@example.com/~*******/example searching for changes remote: Permission denied remote: pretxnopen.hgsrht-shell hook failed abort: push failed on remote
Note I can create a new repo via the web interface at https://hg.sr.ht/create and then can push to it.