{"id":3526,"date":"2015-04-15T04:20:10","date_gmt":"2015-04-15T02:20:10","guid":{"rendered":"http:\/\/glandium.org\/blog\/?p=3526"},"modified":"2015-04-15T04:20:10","modified_gmt":"2015-04-15T02:20:10","slug":"announcing-git-cinnabar-0-2-1","status":"publish","type":"post","link":"https:\/\/glandium.org\/blog\/?p=3526","title":{"rendered":"Announcing git-cinnabar 0.2.1"},"content":{"rendered":"<p>Git-cinnabar is a git remote helper to interact with mercurial repositories. It allows to clone, pull and push from\/to mercurial remote repositories, using git.<\/p>\n<p><a href=\"https:\/\/github.com\/glandium\/git-cinnabar\">Get it on github<\/a>.<\/p>\n<h2>What's new since 0.2.0?<\/h2>\n<p>Not much, but this felt important enough to warrant a release, even though the issue has been there since before 0.1.0:<\/p>\n<p>Mercurial can be slower when cloning or pulling a list of \"heads\" that contain non-topological heads. On repositories like the <a href=\"https:\/\/selenic.com\/hg\/\">mercurial repository<\/a>, it's not so much of a big deal, taking 7s instead of 4s. But on big repositories like <a href=\"https:\/\/hg.mozilla.org\/mozilla-central\">mozilla-central<\/a>, it's taking 23 minutes instead of 2 minutes and 20s (on my machine). And that's with 100% CPU use on the server side.<\/p>\n<p>The problem is that mozilla-central recently merged some old closed heads, such that it now has branch heads that aren't topological heads. Git-cinnabar, until this release, would request those branch heads, leading the server to use the slow path mentioned above. This release works around the issue.<\/p>\n<p>It also fixes an issue pushing to a remote empty mercurial repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git-cinnabar is a git remote helper to interact with mercurial repositories. It allows to clone, pull and push from\/to mercurial remote repositories, using git. Get it on github. What&#8217;s new since 0.2.0? Not much, but this felt important enough to warrant a release, even though the issue has been there since before 0.1.0: Mercurial can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,25],"tags":[23],"class_list":["post-3526","post","type-post","status-publish","format-standard","hentry","category-cinnabar","category-planet-mozilla","tag-en"],"_links":{"self":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3526"}],"version-history":[{"count":3,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3526\/revisions"}],"predecessor-version":[{"id":3529,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3526\/revisions\/3529"}],"wp:attachment":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}