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

Re: Can git pull from a mercurial repository?

From
GNGelonida N <gelonida@gmail.com>
Date
Sep 25, 2012, 07:43 UTC
Message-ID
<k3rnak$qp$1@ger.gmane.org>
In-Reply-To
<000a01cd959a$d8cd0730$8a671590$@schmitz-digital.de>
On 09/18/2012 02:40 PM, Joachim Schmitz wrote:
Show 17 quoted lines
>> 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? Most non embedded devices should offer python 2.5 or newer (for some distros you just have to add 'alternative' repositories)

Previous: Joachim SchmitzNext: Joachim Schmitz
Message 4 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.