#36 Pushing new hg repo to hg.sr.ht fails 9 months ago

Comment by ~durian188 on ~sircmpwn/hg.sr.ht

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 echo "Hello world!" >README.md hg add README.md hg commit -m "Initial 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://hg@hg.sr.ht/~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.

#36 Pushing new hg repo to hg.sr.ht fails 9 months ago

Comment by ~durian188 on ~sircmpwn/hg.sr.ht

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

~sircmpwn/hg.sr.ht/36@todo.sr.ht: host todo.sr.ht[] said: 550 HTML emails are not permitted on SourceHut (in reply to end of DATA command)

#200 https://man.sr.ht/support.md missing url for hg todo list 9 months ago

Ticket created by ~durian188 on ~sircmpwn/todo.sr.ht

On getting support page the section

"""Submitting bug reports

Each service of sr.ht has a dedicated bug tracker:



has no url for hg.sr.ht

#36 Pushing new hg repo to hg.sr.ht fails 9 months ago

Ticket created by ~durian188 on ~sircmpwn/hg.sr.ht

Following Setting up your account & first Mercurial repository hg push ssh://hg@hg.sr.ht/~********/example gave initially remote: hg@hg.sr.ht: 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://hg@hg.sr.ht/~*******/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.