[PATCH] hideablerevs: expand docstring to warn about possible traps
Martijn Pieters
mj at zopatista.com
Mon Apr 4 17:18:17 EDT 2016
On 4 April 2016 at 09:31, Pierre-Yves David
<pierre-yves.david at ens-lyon.org> wrote:
"""Revisions candidates to be hidden
> + This is a standalone function to help extensions to wrap it.
> +
> + Because we use the set of immutable changeset as a fallback subset in
> + branchmap (see mercurial.branchmap.subsettable), You cannot set "public"
> + changesets as "hideable". Doing so would break multiple code assertions and
> + lead to crashs."""
Edited for spelling / grammar:
"""
Revision candidates to be hidden
This is a standalone function to allow extensions to wrap it.
Because we use the set of immutable changesets as a fallback subset in
branchmap (see mercurial.branchmap.subsettable), you cannot set "public"
changesets as "hideable". Doing so would break multiple code assertions and
lead to crashes.
"""
--
Martijn Pieters
More information about the Mercurial-devel
mailing list