{"id":1584,"date":"2012-01-17T09:49:48","date_gmt":"2012-01-16T22:49:48","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=1584"},"modified":"2012-01-17T10:25:44","modified_gmt":"2012-01-16T23:25:44","slug":"speeding-up-mercurial","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2012\/01\/17\/speeding-up-mercurial\/","title":{"rendered":"Speeding up Mercurial"},"content":{"rendered":"<p>Just a reminder:\u00a0 Mercurial repository clones get slower over time.\u00a0 It&#8217;s worth deleting and recloning every so often.<\/p>\n<p>For example, I had one old repository that I&#8217;d done a lot of work in and updated many times.\u00a0 It had a patch queue containing a single patch. I tried doing <code>hg qdiff<\/code> four times in a row. The first one took 65 seconds, and the next three each took 16 seconds.<\/p>\n<p>I deleted the repository, re-cloned, re-applied the patch, and <code>hg qdiff<\/code> now takes 1 second. Much better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a reminder:\u00a0 Mercurial repository clones get slower over time.\u00a0 It&#8217;s worth deleting and recloning every so often. For example, I had one old repository that I&#8217;d done a lot of work in and updated many times.\u00a0 It had a patch queue containing a single patch. I tried doing hg qdiff four times in a [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[289,311],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/1584"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=1584"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/1584\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=1584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=1584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=1584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}