I'm trying to download the sources from hg server http://hg.itways.ru/xneur, but it seems that it goes against makepkg expectations when search for the latest pkgver, returning output "Aborted: HTTP Error 403: Forbidden"
Here the PKGBUILD I'm working on: http://pastebin.com/WCSwLChs
Please notice that this command works:
hg clone http://anonymous:email@example.com/xneur gxneur
However, makepkg searches for newest pkgver of and hg package like this:
hg clone http://anonymous:firstname.lastname@example.org/xneur/gxneur gxneur
This last command returns the 403 error.
Thanks in advance
Last edited by josephg (2012-02-18 02:20:30)
It's hardcoded into line 1756 of makepkg v4.0.3:
hg clone $_hgroot/$_hgrepo ./src/$_hgrepo
It's the only vcs in makepkg that uses an outright clone to update the pkgver. I'm not too familiar with hg, but it looks to me like the "/$_hgrepo" should be removed, similar to line 42 of PKGBUILD-hg.proto:
hg clone $_hgroot ./src/$_hgrepo