D6467: doc: fix description of "predecessors" to match reality
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdc5bd66a8270: doc: fix description of predecessors to match reality (authored by joerg.sonnenberger, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6467?vs=15315=15416 REVISION DETAIL https://phab.mercurial-scm.org/D6467 AFFECTED FILES mercurial/templatekw.py CHANGE DETAILS diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py --- a/mercurial/templatekw.py +++ b/mercurial/templatekw.py @@ -573,7 +573,7 @@ @templatekeyword("predecessors", requires={'repo', 'ctx'}) def showpredecessors(context, mapping): -"""Returns the list of the closest visible successors. (EXPERIMENTAL)""" +"""Returns the list of the closest visible predecessors. (EXPERIMENTAL)""" repo = context.resource(mapping, 'repo') ctx = context.resource(mapping, 'ctx') predecessors = sorted(obsutil.closestpredecessors(repo, ctx.node())) To: joerg.sonnenberger, #hg-reviewers, av6, pulkit Cc: av6, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D6467: doc: fix description of "predecessors" to match reality
av6 added a comment. This change looks good, but I have doubts about "visible" in the docstring. https://phab.mercurial-scm.org/rHG1858fc2327ef7b631941e37550738f1fc4217bfb does say that this template keyword respects repo filtering, but I've encountered instances where it shows hidden predecessors (that need --hidden to be seen). REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6467 To: joerg.sonnenberger, #hg-reviewers Cc: av6, mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D6467: doc: fix description of "predecessors" to match reality
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6467 AFFECTED FILES mercurial/templatekw.py CHANGE DETAILS diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py --- a/mercurial/templatekw.py +++ b/mercurial/templatekw.py @@ -572,7 +572,7 @@ @templatekeyword("predecessors", requires={'repo', 'ctx'}) def showpredecessors(context, mapping): -"""Returns the list of the closest visible successors. (EXPERIMENTAL)""" +"""Returns the list of the closest visible predecessors. (EXPERIMENTAL)""" repo = context.resource(mapping, 'repo') ctx = context.resource(mapping, 'ctx') predecessors = sorted(obsutil.closestpredecessors(repo, ctx.node())) To: joerg.sonnenberger, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel