Re: [PATCH] contrib: drop hg-to-git script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 22, 2024 at 08:58:16AM -0700, Junio C Hamano wrote:

> Those with specific needs (e.g., "A project uses Mercuial; I want
> its history in Git because I am used to it more") will never come to
> our contrib/ as their first place to look, but they may still find
> us in https://letmegooglethat.com/?q=mercurial+to+git if we left an
> otherwise empty directory there.

Thanks, I was going to write something similar, but you did it much
better than I would have. :)

I was curious what results such a search _would_ turn up these days. The
top hits for me (keeping in mind that sometimes search results are
personalized, of course) are:

  - https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git

    which suggests hg-fast-export to git-fast-import for a one-time
    conversion.

  - https://docs.github.com/en/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository

    which does likewise.

  - https://www.alexpage.de/guides/convert-a-mercurial-hg-repository-to-git/

    which suggests using hg-git to push into the Git repository.

I suggested remote-hg or cinnabar, which is what I would have turned to.
But I guess those are more about continuous interoperability rather than
a one-shot conversion (and of course are based on fast-export/import
under the hood anyway).

Anyway, the important takeaway to me is that searches are not likely to
end up at contrib/hg-to-git, with people wondering where it went. They
will point directly to the alternatives.

-Peff




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux