Re: [dev] [suckless] Migration to git
> the following instructions depend on hggit module being installed
> and enabled
> in hgrc. fyi
>
> export hg repo to github
> ========================
> $ hg log | grep ^user |sort -u | sed -e 's, ,\t,g' |awk '{print
> $2="pancake <pancake_AT_nopcode.org>"}' > map
> $ vim map # remove user: and set=value
> $ hg convert -A map . _new
> $ cat map
> pancake=pancake_AT_nopcode.org
> $ cd _new
> $ hg push git+ssh://git_AT_github.com/radare/acr
> $ git clone git://github.com/radare/acr
> $ git gc --aggressive
> [ recreate remote repo]
> $ git push --all
>
You need some extra steps. For example git needs a blank line between the
sumary and the rest of the commit message, or in other case you will see the
full description doing a git log --oneline. I have this problem git st
repository now. It is necessary doing some git filter-branch and fix some
stupid things like these.
Received on Mon Nov 26 2012 - 12:50:50 CET
This archive was generated by hypermail 2.3.0
: Mon Nov 26 2012 - 13:00:09 CET