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

Weiwen Liu weiwen at fb.com
Wed Nov 28 18:09:44 CST 2012


That makes sense.

I will then switch the order of two nodes.

________________________________________
From: Matt Mackall [mpm at selenic.com]
Sent: Wednesday, November 28, 2012 4:03 PM
To: Weiwen Liu
Cc: Kevin Bullock; Bryan O'Sullivan; mercurial-devel
Subject: RE: [PATCH] hgweb: display difference for a changeset against any parents  (issue2810)

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