~sircmpwn/hg.sr.ht#39: 
Invalid project links in project list when adding repo to project

https://sr.ht/~$USER/$PROJECT/hg/new

The list of existing hg repo that displays when adding projects to a repo, has invalid href links.

The select repo buttons, work fine, so this is a minor bug.

Status
RESOLVED FIXED
Submitter
~hindlemail
Assigned to
No-one
Submitted
1 year, 7 months ago
Updated
1 year, 4 months ago
Labels
No labels applied.

~ludovicchabant 1 year, 5 months ago

What's this /hg/new endpoint there? Do you have a concrete example?

~hindlemail 1 year, 5 months ago

:yes

project:

https://sr.ht/~hindlemail/geckofx/

sources:

https://sr.ht/~hindlemail/geckofx/sources

add hg source:

https://sr.ht/~hindlemail/geckofx/hg/new

The urls for the project hrefs under "Or add an existing hg repository" are incorrect. (However clicking Select repo worked without problem)

~nabijaczleweli 1 year, 4 months ago

Hilariously, the links on that page lead me to https://git.sr.ht/~nabijaczleweli/$REPONAME

~sircmpwn 1 year, 4 months ago

Hm, I can't reproduce this. The URLs are correct for me on this page.

~nabijaczleweli 1 year, 4 months ago

Well, now you can't, but as you can see in the patch, that page had always linked to git.sr.ht.

Register here or Log in to comment, or comment via email.