On 2/19/12 11:46 PM, Keshav Kini wrote:
Or use hg-git -http://bitbucket.com/durin42/hg-git/  - to pull your
patch into the hg Sage library. hg-git is much less experimental than
git-hg, I believe.


That's what I've done. I develop in git, then when I want to make a patch in mercurial, I use hg-git to pull down my changes into an hg repository, then use hg to export a patch.

1. Install hg-git

2. hg clone the git repository

3. hack in git

4. hg pull from the git repository

5. hg export patch

It's a little confusing sometimes to keep track of the bookmarks in hg, which correspond to the branches in git, and it seems that sometimes I get my bookmarks messed up in hg. So I don't know that I would recommend this for new people to git or hg.

Keshav: is there an easy way to make a new git command which generates a mercurial patch by adding those lines to the top of a generated patch?

Thanks,

Jason


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to