[PATCH] hgweb: display difference for a changeset against any parents (issue2810)

Matt Mackall mpm at selenic.com
Wed Nov 28 18:03:22 CST 2012


On Wed, 2012-11-28 at 23:59 +0000, Weiwen Liu wrote:
> Thanks Kevin.
> 
> By default, rev/12345 means to compare against 12345's first parent.  Using rev/12345:12300 is a more natural extension.

Compare:

 hg diff -r 1:2
 hg log -r 1:2

We've been using this range syntax with ':' for seven years.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list