From: "Joachim Schmitz" <jojo@schmitz-digital.de>
To: "'Max Horn'" <postbox@quendi.de>
Cc: "'Andreas Ericsson'" <ae@op5.se>, <git@vger.kernel.org>
Subject: RE: Can git pull from a mercurial repository?
Date: Tue, 25 Sep 2012 16:42:35 +0200 [thread overview]
Message-ID: <002401cd9b2c$0168bcc0$043a3640$@schmitz-digital.de> (raw)
In-Reply-To: <37D17798-4BDC-433D-A9B4-49F4352754D9@quendi.de>
> From: Max Horn [mailto:postbox@quendi.de]
> Sent: Tuesday, September 25, 2012 4:15 PM
> To: Joachim Schmitz
> Cc: 'Andreas Ericsson'; git@vger.kernel.org
> Subject: Re: Can git pull from a mercurial repository?
>
> Hi there,
>
>
> On 18.09.2012, at 14:40, Joachim Schmitz wrote:
>
> >> From: Andreas Ericsson [mailto:ae@op5.se]
> >> Sent: Tuesday, September 18, 2012 1:46 PM
> >> To: Joachim Schmitz
> >> Cc: git@vger.kernel.org
> >> Subject: Re: Can git pull from a mercurial repository?
> >>
> >> On 09/18/2012 01:22 PM, Joachim Schmitz wrote:
> >>> Is there an easy way to get git to clone/pull from a Mercurial repository?
> >>>
> >>
> >> Yes. Google "git remote helpers" and you'll most likely find it.
> >
> > Well, I found a few. No idea how to get them to work though (so far for the 'easy' part of my question)
>
> I think there is a lot of demand for a "git-hg" bridge, a way to seemlessly access a Mercurial repository as if it was a git
repository. A
> converse to hg-git <http://hg-git.github.com/>
>
> As you discovered, there are several attempts to this. A recent overview over some of them can be found here:
>
> https://github.com/dubiousjim/yagh/blob/master/README.md
>
> Another remark:
>
>
> >
> > It seems https://github.com/rfk/git-remote-hg requires Python 2.5 (and I only have 2.4), also I have no idea how to get it
installed
> > https://github.com/SRabbelier/git is 3 years old, apparently never made it into git, guess for a reason?
> > Then I found https://github.com/fingolfin/git/commits/remote-hg, looks very confusing to me...
>
> This is mine, and I am sorry that it causes confusion -- but in fact, my goal it is kind of a continuation of the
> https://github.com/SRabbelier/git code. OR rather, it collects code others wrote to improve that codebase, and I just added a few
fixes
> that made it work for me.
>
> In particular, I tried to figure out the reasons for why it never made it into git, and in the process, created this Wiki page:
> <https://github.com/msysgit/msysgit/wiki/Guide-to-git-remote-hg>. Which attempts to document how to use this code, and what needs
to
> be done. My hope was that perhaps more people would be interested in this, and in helping out with it, but so far no such luck.
Ah, with that pages it gets much clearer! Only how should anyone know that https://github.com/fingolfin/git/commits/remote-hg is
related in any form or shape with https://github.com/msysgit/msysgit/wiki/Guide-to-git-remote-hg?
I'm afraid it still won't help me much though, as I guess it too requites Python 2.5 or later, as it uses the Mercuroal Python API
(and that actually may be the reason why it never made it into git? I believe to have read somewhere that git tries to restrict
itself to Python 2.4)
> My goals were noble, but you are the second person who considers this work to be confusing, so if that is what the majority
thinks, I am
> willing to remove that text again (or rather, hide it away in some private repository).
No, please don't. Rather make that clear on https://github.com/fingolfin/git/commits/remote-hg ...
Bye, Jojo
next prev parent reply other threads:[~2012-09-25 14:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-18 11:22 Can git pull from a mercurial repository? Joachim Schmitz
2012-09-18 11:46 ` Andreas Ericsson
2012-09-18 12:40 ` Joachim Schmitz
2012-09-25 7:43 ` Gelonida N
2012-09-25 12:56 ` Joachim Schmitz
2012-09-25 14:39 ` Martin Langhoff
2012-09-25 14:15 ` Max Horn
2012-09-25 14:42 ` Joachim Schmitz [this message]
2012-09-26 7:38 ` Georgi Chorbadzhiyski
2012-09-26 8:46 ` Max Horn
2012-09-26 9:46 ` Georgi Chorbadzhiyski
2012-09-26 20:21 ` Cosmin Stejerean
2012-10-17 12:44 ` Felipe Contreras
2012-10-17 13:29 ` Felipe Contreras
2012-09-18 12:06 ` Georgi Chorbadzhiyski
2012-09-18 12:10 ` Joachim Schmitz
2012-09-18 12:33 ` Andreas Schwab
2012-09-18 12:40 ` Joachim Schmitz
2012-09-18 12:56 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002401cd9b2c$0168bcc0$043a3640$@schmitz-digital.de' \
--to=jojo@schmitz-digital.de \
--cc=ae@op5.se \
--cc=git@vger.kernel.org \
--cc=postbox@quendi.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).