[PATCH 4 of 8] obsolete: compute unstable changeset
Tatham Oddie
tatham at oddie.com.au
Thu Jul 5 22:54:04 CDT 2012
> -----Original Message-----
> From: mercurial-devel-bounces at selenic.com [mailto:mercurial-devel-
> bounces at selenic.com] On Behalf Of Pierre-Yves David
> Sent: Friday, 6 July 2012 10:27
> To: mercurial-devel at selenic.com
> diff --git a/mercurial/revset.py b/mercurial/revset.py
> --- a/mercurial/revset.py
> +++ b/mercurial/revset.py
> @@ -1317,6 +1317,14 @@
> def tagged(repo, subset, x):
> return tag(repo, subset, x)
>
> +def unstable(repo, subset, x):
> + """``unstable()``
> + Unstable changeset are non obsolete changeset with obsolete
> descendant."""
> + getargs(x, 0, 0, _("obsolete takes no arguments"))
This should be "unstable takes no arguments".
More information about the Mercurial-devel
mailing list