ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] hg2git in Sisyphus
Date: Sat, 15 Nov 2008 11:16:11 +0300
Message-ID: <20081115081611.GA4783@atlas.home> (raw)
In-Reply-To: <20081115034051.GT31993@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

On Sat, Nov 15, 2008 at 06:40:51AM +0300, Alexey Tourbin wrote:
> On Sat, Nov 15, 2008 at 05:37:52AM +0200, Led wrote:
> > Чем у нас сейчас принято пользоваться для импорта из mercurial в git?
> > 
> > hg2git в Сизифе нерабочий. Запустить его удалось только "костыльным" способом:
> > PATH=$PATH:/usr/libexec/git-core hg2git -r ...

На самом деле всё ещё хуже - в этом hg2git есть серьёзные ошибки,
приводящие к неверному импорту.

> > Но даже в этом случае он ничего с http импортировать не захотел :(
> > Пришлось сначала сделать
> > hg clone http://....
> > а потом, уже из локального каталога запускать
> > PATH=$PATH:/usr/libexec/git-core hg2git -r ...
> > 
> > Тоже, конечно, выход... Но держать два одинаковых репозитария (hg и git) и 
> > выполнять обновление в два приёма - как не очень здОрово :(

Но придётся делать именно так - в hg, как и в git, полноценная работа
возможна только с локальным репозиторием.

> Не знаю пока, я давно ничего из hg не импортировал.
> Вроде бы есть другая тулза, которая включает в себя h2git.
> Raorn наверное помнит как она называется. :)

http://repo.or.cz/w/fast-export.git

http://git.altlinux.org/people/raorn/packages/?p=hg2git.git;a=summary
(старая версия, но вроде бы самые страшные ошибки импорта там
исправлены).

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-11-15  8:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-15  3:37 Led
2008-11-15  3:40 ` Alexey Tourbin
2008-11-15  8:16   ` Sergey Vlasov [this message]
2008-11-15  8:38     ` Aleksey Avdeev

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=20081115081611.GA4783@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git