]> git.llucax.com Git - personal/website.git/blob - source/blog/posts/2009/03/mercurial-is-not-good-enough.rst
Move from llucax.com.ar to llucax.com
[personal/website.git] / source / blog / posts / 2009 / 03 / mercurial-is-not-good-enough.rst
1 Title: Mercurial is not good enough
2 Tags: en, d, dgc, ldc, mercurial, git, howto, fast-export
3
4 I started learning some Mercurial_ for *interacting* with the LDC_ repository,
5 but I disliked it instantly. Sure, it's great when you come from SVN_, but it's
6 just too limited if you come from GIT_ (I can't live anymore without `git
7 rebase`__ `-i`__).
8
9 __ http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html
10 __ http://blog.madism.org/index.php/2007/09/09/138-git-awsome-ness-git-rebase-interactive
11
12 Fortunately there is `fast-export`_. With it I can incrementally import the
13 Mercurial_ repository in a GIT_ repository as easy as::
14
15     hg clone http://hg.dsource.org/projects/ldc ldc-hg
16     mkdir ldc
17     cd ldc
18     git init
19     hg-fast-export.sh -r my_local_hg_repo_clone
20
21
22 I'm very happy to be at home again =)
23
24 .. _Mercurial: http://www.selenic.com/mercurial/wiki/
25 .. _LDC: http://www.dsource.org/projects/ldc
26 .. _SVN: http://subversion.tigris.org/
27 .. _GIT: http://git-scm.com/
28 .. _`fast-export`: http://repo.or.cz/w/fast-export.git
29
30 .. vim: set et sw=4 sts=4 :