[PATCH 5 of 9 V2] obsolete: compute unstable changeset

Augie Fackler raf at durin42.com
Fri Jul 6 20:06:30 CDT 2012


On Jul 6, 2012, at 1:54 PM, pierre-yves.david at logilab.fr wrote:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1341526689 -7200
> # Node ID 8373a40bd8d6beb57da7dd560aab872623849246
> # Parent  4ca4a3e795c04628fcefc6bfdb2b74b3f6a8f30b
> obsolete: compute unstable changeset
> 
> An unstable changeset is a changeset *not* obsolete but with some obsolete
> ancestors.


> +def unstable(repo, subset, x):
> +    """``unstable()``
> +    Unstable changeset are non obsolete changeset with obsolete descendant."""

Unstable changesets

(that is, you need to pluralize the noun to be in agreement with the rest of the sentence.)


More information about the Mercurial-devel mailing list