[PATCH] revset: add "similar" keyword

Matt Mackall mpm at selenic.com
Mon Apr 2 15:32:53 CDT 2012


On Sun, 2012-04-01 at 14:21 +0200, Angel Ezquerra wrote:
> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1333282334 -7200
> # Node ID 5027b86b02e8285493fb359367dc36f3cf481688
> # Parent  b3fefbb95aad2a9b5b8e44e6fea4860d6690368b
> revset: add "similar" keyword

Looks like my earlier reply to this got lost. Two comments:

- "similar" implies "nearly equal" or fuzzy matching, so this name is
not quite right
- we probably want to allow a set as the first field, not just a single
rev

We already do something sort of like this with branch(), which can take
either a string or a set. Perhaps we want to make date, author, etc.
take sets.

Otherwise, this is pretty interesting. 

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list