[dev] hggit and the suckless repos

2013-09-20 Thread Sam Ḥilluc
Hi everybody,

The suckless projects being the only ones that I follow from their git
repo, I
decided to simply use the hggit extension of mercurial. So I installed
it and
tried a: hg clone git+http://git.suckless.org/dwm, I got a ValueError
exception. I tried the same thing with st, dmenu, with the same error. I
then
tried repos from github, kernel.org, some random git repos, and all worked
fine.

So my question: what are you guys using to serve the git repo? do you think
it's a bug on your side or is it from the hggit extension ?

Thanks.




Re: [dev] hggit and the suckless repos

2013-09-20 Thread Sam Ḥilluc
On 09/20/2013 10:14 PM, Alexander Huemer wrote:
> $ hg clone git://git.suckless.org/st
>
> works for me. Are you sure there is a http+git URI scheme for hg-git? 
>
> Kind regards,
> -Alex
Indeed, with the git protocol it works fine (I didn't know it, thanks).

But the http problem still holds, if a git repo is served by http or
ssh, you
have to add 'git+' before the protocol for hggit to recognize it (else
it will assume
it is a mercurial repo).

Also, I wasn't clear but when I tested the github and kernel.org repos,
I used
git+http.



Re: [dev] hggit and the suckless repos

2013-09-20 Thread Chris Down
On 2013-09-20 21:48, Sam Ḥilluc wrote:
> hg clone git+http://git.suckless.org/dwm, I got a ValueError

Are you sure git+http works? Try git://git.suckless.org/dwm.git instead.


pgpCyI7jgOXt3.pgp
Description: PGP signature


Re: [dev] hggit and the suckless repos

2013-09-20 Thread Alexander Huemer
Hi,

On Fri, Sep 20, 2013 at 09:48:23PM +0200, Sam Ḥilluc wrote:
> The suckless projects being the only ones that I follow from their git
> repo, I decided to simply use the hggit extension of mercurial. So I 
> installed it and tried a: hg clone git+http://git.suckless.org/dwm, I 
> got a ValueError exception. I tried the same thing with st, dmenu, 
> with the same error. I then tried repos from github, kernel.org, some 
> random git repos, and all worked fine.
> 
> So my question: what are you guys using to serve the git repo? do you think
> it's a bug on your side or is it from the hggit extension ?

$ hg clone git://git.suckless.org/st

works for me. Are you sure there is a http+git URI scheme for hg-git? 

Kind regards,
-Alex



Re: [dev] hggit and the suckless repos

2013-09-20 Thread Alexander Huemer
On Fri, Sep 20, 2013 at 10:39:07PM +0200, Sam Ḥilluc wrote:
> On 09/20/2013 10:14 PM, Alexander Huemer wrote:
> > $ hg clone git://git.suckless.org/st
> >
> > works for me. Are you sure there is a http+git URI scheme for hg-git? 
> >
> > Kind regards,
> > -Alex
> Indeed, with the git protocol it works fine (I didn't know it, thanks).
> 
> But the http problem still holds, if a git repo is served by http or
> ssh, you
> have to add 'git+' before the protocol for hggit to recognize it (else
> it will assume
> it is a mercurial repo).
> 
> Also, I wasn't clear but when I tested the github and kernel.org repos,
> I used
> git+http.

Well, on suckless.org the http clone support is provided by cgit (the 
git http frontend). Obviously there is some incompatibility. Maybe you 
want to let the hg-git guys know that.

Kind regards,
-Alex