threads / discuss / 17861

Don't want to leave git for hg

Subject: Don't want to leave git for hg

## tl;dr

5 messages between Feb 17, 2009 and Feb 18, 2009.

replies: 4people: 3as markdown or json

Francis Moreau· Feb 17, 2009, 20:36 UTC · lore
Hello,
I unfortunately have to work on a hg repository.
For reasons that all git users understand I still want to use git.

So I'm wondering if others git users faced the same problem and if so how they did workaround it ?

I found hg2git which could have solve my issue but it seems pretty old and no more maintained.

Thanks
-- 
Francis
Johannes Schindelin· Feb 17, 2009, 23:34 UTC · re: Francis Moreau · lore

Re: Don't want to leave git for hg

Hi,
On Tue, 17 Feb 2009, Francis Moreau wrote:
> I found hg2git which could have solve my issue but it seems pretty old 
> and no more maintained.

You did not say from where you have it, so I would never know if you mean the same as I do.

I use the hg2git from http://repo.or.cz/w/fast-export.git and it works pretty well, most of the time.

Ciao, Dscho

Francis Moreau· Feb 18, 2009, 08:39 UTC · re: Johannes Schindelin · lore

Re: Don't want to leave git for hg

Hello,

On Wed, Feb 18, 2009 at 12:34 AM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 7 quoted lines
> On Tue, 17 Feb 2009, Francis Moreau wrote:
>
>> I found hg2git which could have solve my issue but it seems pretty old
>> and no more maintained.
>
> You did not say from where you have it, so I would never know if you mean
> the same as I do.
I used the version hosted by github somehow:
git://github.com/vitaly/hg2git.git
> I use the hg2git from http://repo.or.cz/w/fast-export.git and it works
> pretty well, most of the time.
Ok I missed this one.

Since you may have the same needs as mine, I'm asking another question: once you have finished your work in your git repo, how do you reintegrate them into the hg repo ? do you use patches or something else ?

thanks
-- 
Francis
Johannes Schindelin· Feb 18, 2009, 10:28 UTC · re: Francis Moreau · lore

Re: Don't want to leave git for hg

Hi,
On Wed, 18 Feb 2009, Francis Moreau wrote:
Show 23 quoted lines
> On Wed, Feb 18, 2009 at 12:34 AM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
> > On Tue, 17 Feb 2009, Francis Moreau wrote:
> >
> >> I found hg2git which could have solve my issue but it seems pretty old
> >> and no more maintained.
> >
> > You did not say from where you have it, so I would never know if you mean
> > the same as I do.
> 
> I used the version hosted by github somehow:
> 
> git://github.com/vitaly/hg2git.git
> 
> > I use the hg2git from http://repo.or.cz/w/fast-export.git and it works
> > pretty well, most of the time.
> 
> Ok I missed this one.
> 
> Since you may have the same needs as mine, I'm asking another
> question: once you have finished your work in your git repo, how do
> you reintegrate them into the hg repo ? do you use patches or
> something else ?

Ah, I do not need to do that... But yes, I would use patches (there must be a git-am lookalike in Hg). Or maybe their fast-import equivalent I heard rumors of.

Ciao, Dscho

John Tapsell· Feb 17, 2009, 23:37 UTC · re: Francis Moreau · lore

Re: Don't want to leave git for hg

2009/2/18 Francis Moreau <francis.moro@gmail.com>:
Show 8 quoted lines
> Hello,
>
> I unfortunately have to work on a hg repository.
>
> For reasons that all git users understand I still want to use git.
>
> So I'm wondering if others git users faced the same problem and if so
> how they did workaround it ?

Maybe just learn mercurial, and submit patches for any features that you desperately miss? I doubt your employer will want you faffing around with hg2git etc just because of one or two minor missing features.

Show 11 quoted lines
> I found hg2git which could have solve my issue but it seems pretty old
> and no more maintained.
>
> Thanks
> --
> Francis
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

← back to recent threads