<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:ent="http://www.purl.org/NET/ENT/1.0/">
  <channel>
    <title>Curiouser and Curiouser! on mercurial</title>
    <link>http://matt.blogs.it/</link>
    <description>RSS feed for topic mercurial</description>
    <copyright>Copyright 2007 Matt Mower. Some rights reserved.</copyright>
    <generator>Squib/0.5.0.382</generator>
    <managingEditor>self@mattmower.com</managingEditor>
    <webMaster>self@mattmower.com</webMaster>
    <language>en-gb</language>
    <item>
      <title>Diffly going all unpredictable?</title>
      <link>http://matt.blogs.it/entries/00002623.html</link>
      <pubDate>Fri, 07 Sep 2007 19:00:19 +0100</pubDate>
      <description>&lt;p&gt;Okay so lately I've either been too busy, too tired, too lazy, or too ill to work on &lt;a href="http://lucidmac.com/products/diffly"&gt;Diffly&lt;/a&gt;. There are a few bugs that need debugging, a few features that need enfeaturing, and a 1.0 release. One thing standing in the way of that is that, since leaving Cominded, I'm not using Subversion day to day so the shortcomings aren't in my face a lot.&lt;/p&gt;

&lt;p&gt;Also for my latest project I have been playing with &lt;a href="http://www.selenic.com/mercurial/"&gt;Mercurial&lt;/a&gt; which is a distributed version control system along the lines of &lt;a href="http://darcs.net/"&gt;Darcs&lt;/a&gt; and &lt;a href="http://git.or.cz/"&gt;Git&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The &lt;em&gt;distributed&lt;/em&gt; part comes from the fact that all three, unlike Subversion, eschew the idea of a central repository. Essentially everyone maintains (potentially multiple) &lt;em&gt;masters&lt;/em&gt; and pushes and pulls changes between them. It turns out this has all sorts of advantages.&lt;/p&gt;

&lt;p&gt;I choose Mercurial over Darcs and Git because I found it the easiest to get going with although I know a lot of smart people are choosing Git and uber-smart Haskell people probably use Darcs out of principle. Steve Dekorte &lt;a href="http://www.dekorte.com/blog/blog.cgi?do=item&amp;amp;id=2895"&gt;mentioned a couple of problems that Git may suffer relative to Darcs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Never having used Git I've no idea if he's right. I asked the question in #mercurial and was told that the cherry-picking at least should be possible using the Transplant extension. Although &lt;a href="http://hgbook.red-bean.com/hgbookch14.html#x18-31800014.3"&gt;the HgBook&lt;/a&gt; is a little vague on this point:&lt;/p&gt;

&lt;blockquote&gt;
    &lt;h3&gt;14.3 Cherrypicking changes with the &lt;code&gt;transplant&lt;/code&gt; extension&lt;/h3&gt;
    
    &lt;p&gt;Need to have a long chat with Brendan about this.&lt;/p&gt;
    
    &lt;h3&gt;14.4 Send changes via email with the patchbomb extension&lt;/h3&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hrmm... maybe Brendan was out. Let's hope he gets back sometime soon.&lt;/p&gt;

&lt;p&gt;Anyway the reason for my dissembling about Mercurial was that I was thinking about extending Diffly to work with Mercurial. In many respects the commands and their output are very similar. There would be some work to do, in particular it's annoying that Mercurial doesn't support the &lt;code&gt;--targets&lt;/code&gt; options of Subversion. That could be an issue when checking in a lot of files.&lt;/p&gt;

&lt;p&gt;Would anyone else be interesting in a &lt;a href="http://lucidmac.com/products/diffly"&gt;Cocoa interface&lt;/a&gt; to browsing &amp;amp; committing changes with Mercurial?&lt;/p&gt;</description>
      <guid isPermaLink="true">http://matt.blogs.it/entries/00002623.html</guid>
      <ent:cloud ent:href="http://matt.blogs.it/topics/">
      </ent:cloud>
    </item>
  </channel>
</rss>
