Please check out the revset feature
Matt Mackall
mpm at selenic.com
Tue Jun 8 14:49:11 CDT 2010
On Tue, 2010-06-08 at 15:45 -0400, Greg Ward wrote:
> 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?
Yes. Haven't gotten there yet though.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list