Re: [PATCH] Add new git-remote-hd helper

2012-10-26 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 8:12 AM, Sverre Rabbelier wrote: > On Wed, Oct 17, 2012 at 10:18 PM, Felipe Contreras > wrote: >> Right now I've just added an error when using remote repositories. But >> it seems there's no way around it; if we want to have support for >> remote repos, we need to make a

Re: [PATCH] Add new git-remote-hd helper

2012-10-21 Thread Felipe Contreras
On Sun, Oct 21, 2012 at 10:03 PM, Johannes Schindelin wrote: > On Sun, 21 Oct 2012, Felipe Contreras wrote: > >> On Thu, Oct 18, 2012 at 10:47 AM, Johannes Schindelin >> wrote: >> >> > Without push support, remote-hg is useless to me. Without regression >> > tests proving that it is rock solid, I

Re: [PATCH] Add new git-remote-hd helper

2012-10-21 Thread Johannes Schindelin
Hi Felipe, On Sun, 21 Oct 2012, Felipe Contreras wrote: > On Thu, Oct 18, 2012 at 10:47 AM, Johannes Schindelin > wrote: > > > Without push support, remote-hg is useless to me. Without regression > > tests proving that it is rock solid, I will not use remote-hg. > > Done and done. My remote-hg

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 3:18 PM, Michael J Gruber wrote: > Felipe Contreras venit, vidit, dixit 17.10.2012 14:58: >> Signed-off-by: Felipe Contreras >> --- >> >> I've looked at many hg<->git tools and none satisfy me. Too complicated, or >> too >> slow, or to difficult to setup, etc. > > It's in

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Michael J Gruber
Felipe Contreras venit, vidit, dixit 17.10.2012 14:58: > Signed-off-by: Felipe Contreras > --- > > I've looked at many hg<->git tools and none satisfy me. Too complicated, or > too > slow, or to difficult to setup, etc. It's in an unsatisfying state, I agree. We have a great remote helper infra

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Matthieu Moy
Felipe Contreras writes: > Basically what I already described: > 1) You need a non-vanilla version of git > 2) It's not easy to set up > 3) It's not even clear which branch you should be using (in case you > are not using msysgit) I do not read that as "it does not work", but instead as "no one

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 11:26 AM, Junio C Hamano wrote: > Felipe Contreras writes: > >>> As to the functionality you seek: git-remote-hg found in >>> git://github.com/msysgit/git works. It has the following advantages over >>> every other solution, including the one proposed in this thread: >>> >

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Junio C Hamano
Felipe Contreras writes: >> As to the functionality you seek: git-remote-hg found in >> git://github.com/msysgit/git works. It has the following advantages over >> every other solution, including the one proposed in this thread: >> >> - it works >> >> - no really, it works > > Not for me. Felipe

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 11:13 AM, Johannes Schindelin wrote: > Hi, > > On Thu, 18 Oct 2012, Felipe Contreras wrote: > >> On Thu, Oct 18, 2012 at 8:12 AM, Sverre Rabbelier >> wrote: >> > On Wed, Oct 17, 2012 at 10:18 PM, Felipe Contreras >> > wrote: >> >> Right now I've just added an error when

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Johannes Schindelin
Hi, On Thu, 18 Oct 2012, Felipe Contreras wrote: > On Thu, Oct 18, 2012 at 8:12 AM, Sverre Rabbelier > wrote: > > On Wed, Oct 17, 2012 at 10:18 PM, Felipe Contreras > > wrote: > >> Right now I've just added an error when using remote repositories. > >> But it seems there's no way around it; if

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Johannes Schindelin
Hi Felipe, On Thu, 18 Oct 2012, Felipe Contreras wrote: > On Thu, Oct 18, 2012 at 10:47 AM, Johannes Schindelin > wrote: > > So your idea of collaboration is accept that your code is awesome, and > my code sucks, and that I should fix your code, and throw my code to the > trash, while you do abs

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 8:12 AM, Sverre Rabbelier wrote: > On Wed, Oct 17, 2012 at 10:18 PM, Felipe Contreras > wrote: >> Right now I've just added an error when using remote repositories. But >> it seems there's no way around it; if we want to have support for >> remote repos, we need to make a

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 10:47 AM, Johannes Schindelin wrote: > Hi Felipe, > > On Wed, 17 Oct 2012, Felipe Contreras wrote: > >> On Wed, Oct 17, 2012 at 8:18 PM, Sverre Rabbelier >> wrote: >> > On Wed, Oct 17, 2012 at 11:12 AM, Felipe Contreras >> > wrote: >> >> But fine, lets remove the tests o

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 5:44 AM, Felipe Contreras wrote: > On Thu, Oct 18, 2012 at 12:59 AM, Jeff King wrote: >> The first thing I tried was: >> >> $ git clone hg::https://code.google.com/p/dactyl/ > > Right, doesn't look like it works for remote repositories. I think > that's the next feature

Re: [PATCH] Add new git-remote-hd helper

2012-10-18 Thread Johannes Schindelin
Hi Felipe, On Wed, 17 Oct 2012, Felipe Contreras wrote: > On Wed, Oct 17, 2012 at 8:18 PM, Sverre Rabbelier > wrote: > > On Wed, Oct 17, 2012 at 11:12 AM, Felipe Contreras > > wrote: > >> But fine, lets remove the tests out of the equation (150 lines), the > >> number of lines of code still ex

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Sverre Rabbelier
On Wed, Oct 17, 2012 at 10:18 PM, Felipe Contreras wrote: > Right now I've just added an error when using remote repositories. But > it seems there's no way around it; if we want to have support for > remote repos, we need to make a local clone. My git-remote-hg does the local clone into .git/ us

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 5:44 AM, Felipe Contreras wrote: > On Thu, Oct 18, 2012 at 12:59 AM, Jeff King wrote: >> On Wed, Oct 17, 2012 at 02:58:41PM +0200, Felipe Contreras wrote: >> >>> I've looked at many hg<->git tools and none satisfy me. Too complicated, or >>> too >>> slow, or to difficult

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Felipe Contreras
On Thu, Oct 18, 2012 at 12:59 AM, Jeff King wrote: > On Wed, Oct 17, 2012 at 02:58:41PM +0200, Felipe Contreras wrote: > >> I've looked at many hg<->git tools and none satisfy me. Too complicated, or >> too >> slow, or to difficult to setup, etc. > > I run into this every few months, evaluate all

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Jeff King
On Wed, Oct 17, 2012 at 02:58:41PM +0200, Felipe Contreras wrote: > I've looked at many hg<->git tools and none satisfy me. Too complicated, or > too > slow, or to difficult to setup, etc. I run into this every few months, evaluate all of the options, and come to the same conclusion. So I am exc

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Felipe Contreras
On Wed, Oct 17, 2012 at 8:18 PM, Sverre Rabbelier wrote: > On Wed, Oct 17, 2012 at 11:12 AM, Felipe Contreras > wrote: >> But fine, lets remove the tests out of the equation (150 lines), the >> number of lines of code still exceeds 3000. > > I don't think it's fair to just look at LOC, git-remote

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Sverre Rabbelier
On Wed, Oct 17, 2012 at 11:12 AM, Felipe Contreras wrote: > But fine, lets remove the tests out of the equation (150 lines), the > number of lines of code still exceeds 3000. I don't think it's fair to just look at LOC, git-remote-hg when it was just parsing was fairly simple. Most of the current

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Felipe Contreras
On Wed, Oct 17, 2012 at 7:39 PM, Johannes Schindelin wrote: > On Wed, 17 Oct 2012, Felipe Contreras wrote: > >> On Wed, Oct 17, 2012 at 6:03 PM, Johannes Schindelin >> wrote: >> > On Wed, 17 Oct 2012, Felipe Contreras wrote: >> > >> >> I've looked at many hg<->git tools and none satisfy me. Too >

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Johannes Schindelin
Hi, On Wed, 17 Oct 2012, Felipe Contreras wrote: > On Wed, Oct 17, 2012 at 6:03 PM, Johannes Schindelin > wrote: > > On Wed, 17 Oct 2012, Felipe Contreras wrote: > > > >> I've looked at many hg<->git tools and none satisfy me. Too > >> complicated, or too slow, or to difficult to setup, etc. > >

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Felipe Contreras
On Wed, Oct 17, 2012 at 6:03 PM, Johannes Schindelin wrote: > On Wed, 17 Oct 2012, Felipe Contreras wrote: > >> I've looked at many hg<->git tools and none satisfy me. Too complicated, >> or too slow, or to difficult to setup, etc. > > The one I merged into Git for Windows (since that is what I in

Re: [PATCH] Add new git-remote-hd helper

2012-10-17 Thread Johannes Schindelin
Hi, On Wed, 17 Oct 2012, Felipe Contreras wrote: > I've looked at many hg<->git tools and none satisfy me. Too complicated, > or too slow, or to difficult to setup, etc. The one I merged into Git for Windows (since that is what I install on all my machines even if they run Linux) is rock-solid.

[PATCH] Add new git-remote-hd helper

2012-10-17 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- I've looked at many hg<->git tools and none satisfy me. Too complicated, or too slow, or to difficult to setup, etc. The only one I've liked so far is hg-fast-export[1], which is indeed fast, relatively simple, and relatively easy to use. But it's not properly