You are not logged in.

#1 2012-01-05 03:45:43

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 106

Mercurial (hg) and http://hg.itways.ru/xneur

Hi there.

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:anonymous@hg.itways.ru/xneur gxneur

However, makepkg searches for newest pkgver of and hg package like this:

hg clone http://anonymous:anonymous@hg.itways.ru/xneur/gxneur gxneur

This last command returns the 403 error.

Any suggestions?

Thanks in advance

Last edited by josephg (2012-02-18 02:20:30)

Offline

#2 2012-02-18 02:21:28

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 106

Re: Mercurial (hg) and http://hg.itways.ru/xneur

no one?

Offline

#3 2013-01-05 13:23:21

enricostn
Member
Registered: 2011-08-09
Posts: 57

Re: Mercurial (hg) and http://hg.itways.ru/xneur

same here!

Offline

#4 2013-01-05 16:45:51

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: Mercurial (hg) and http://hg.itways.ru/xneur

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

Offline

Board footer

Powered by FluxBB