Please check out the revset feature
Greg Ward
greg-hg at gerg.ca
Tue Jun 8 19:45:53 UTC 2010
On Mon, Jun 7, 2010 at 12:16 PM, Matt Mackall <mpm at selenic.com> wrote:
> Last week I pushed the revset feature to default. It's available
> wherever revision ranges were previously supported. It's quite complex
> and needs some testing. (And yes, there are currently no tests or docs!)
Cool! This is a killer feature.
I just naively tried to do this:
hg update 'p1(109360)'
which was rejected: presumably update doesn't accept revsets at all,
since it's nonsensical in general. But there are certainly useful
revsets with only one member. Would it be possible to make update
accept a query that evaluates to exactly one changeset, and barf
otherwise?
Greg
More information about the Mercurial-devel
mailing list