migrate repository from mercurial to git

Uwe Brauer oub at mat.ucm.es
Fri Dec 10 17:14:40 UTC 2021


>>> "MK" == Mads Kiilerich <mads at kiilerich.com> writes:

> On 12/10/21 12:29, Ɓukasz Michalski wrote:
>> Hi,
>> 
>> I would like to migrate a repository myrepo from mercurial to git.
>> 
>> I want to rename mercurial repository to myrepo_old and use orginal name for new git repository.
>> 
>> Is it enough to rename mercurial repository on disk and copy new one under original name? Old one can have some closed pull requests.


> Yes, that should work and be safe, especially if you do the renaming
> and repo creation in Kallithea. The new repo will be "different" from
> the old one, even if the name is reused. Access rules and PRs etc will
> be different.

I am deeply confused. Are you saying kallithea can convert a mercurial repository to git without any further set up?

How are named branches be converted? How are bookmarks and topics?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20211210/49a6ca0a/attachment.bin>


More information about the kallithea-general mailing list