git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Can git pull from a mercurial repository?

From
Joachim Schmitz <jojo@schmitz-digital.de>
Date
Sep 25, 2012, 12:56 UTC
Message-ID
<k3sepn$f1e$1@ger.gmane.org>
In-Reply-To
<k3rnak$qp$1@ger.gmane.org>
Gelonida N wrote:
Show 24 quoted lines
> On 09/18/2012 02:40 PM, 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) 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...
>
> Install a newer python and hg
> Are you really sure, that python 2.5 doesn't exist for your machine?

Yes, I am sure. Python 2.4 had been ported more than 5 years ago by a former workmate, otherwise we wouldn't even have that.

> Most non embedded devices should  offer python 2.5 or newer
> (for some distros you just have to add 'alternative' repositories)

For this platform (HP NonStop) basically nothing is available from any repository on the web but ITUGLIB (http://ituglib.connect-community.org) and that's the machine I'm working on/for ;-)

We're currently trying to port Python-2.7, but it ain't easy...
Bye, Jojo
Previous: Gelonida NNext: Martin Langhoff
Message 5 of 19 in “Can git pull from a mercurial repository?”
  1. Joachim SchmitzSep 18, 2012
  2. Andreas EricssonSep 18, 2012
  3. Joachim SchmitzSep 18, 2012
  4. Gelonida NSep 25, 2012
  5. Joachim SchmitzSep 25, 2012
  6. Martin LanghoffSep 25, 2012
  7. Max HornSep 25, 2012
  8. Joachim SchmitzSep 25, 2012
  9. Georgi ChorbadzhiyskiSep 26, 2012
  10. Max HornSep 26, 2012
  11. Georgi ChorbadzhiyskiSep 26, 2012
  12. Cosmin StejereanSep 26, 2012
  13. Felipe ContrerasOct 17, 2012
  14. Felipe ContrerasOct 17, 2012
  15. Georgi ChorbadzhiyskiSep 18, 2012
  16. Joachim SchmitzSep 18, 2012
  17. Andreas SchwabSep 18, 2012
  18. Joachim SchmitzSep 18, 2012
  19. Andreas SchwabSep 18, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.