Show More
@@ -377,14 +377,13 b' def showchildren(**args):' | |||
|
377 | 377 | # Deprecated, but kept alive for help generation a purpose. |
|
378 | 378 | @templatekeyword('currentbookmark') |
|
379 | 379 | def showcurrentbookmark(**args): |
|
380 | """String. The active bookmark, if it is | |
|
381 | associated with the changeset (DEPRECATED)""" | |
|
380 | """String. The active bookmark, if it is associated with the changeset. | |
|
381 | (DEPRECATED)""" | |
|
382 | 382 | return showactivebookmark(**args) |
|
383 | 383 | |
|
384 | 384 | @templatekeyword('activebookmark') |
|
385 | 385 | def showactivebookmark(**args): |
|
386 | """String. The active bookmark, if it is | |
|
387 | associated with the changeset""" | |
|
386 | """String. The active bookmark, if it is associated with the changeset.""" | |
|
388 | 387 | active = args[r'repo']._activebookmark |
|
389 | 388 | if active and active in args[r'ctx'].bookmarks(): |
|
390 | 389 | return active |
@@ -505,8 +504,8 b' def showfiles(**args):' | |||
|
505 | 504 | |
|
506 | 505 | @templatekeyword('graphnode') |
|
507 | 506 | def showgraphnode(repo, ctx, **args): |
|
508 | """String. The character representing the changeset node in | |
|
509 |
|
|
|
507 | """String. The character representing the changeset node in an ASCII | |
|
508 | revision graph.""" | |
|
510 | 509 | wpnodes = repo.dirstate.parents() |
|
511 | 510 | if wpnodes[1] == nullid: |
|
512 | 511 | wpnodes = wpnodes[:1] |
@@ -671,8 +670,7 b' def showpeerurls(repo, **args):' | |||
|
671 | 670 | |
|
672 | 671 | @templatekeyword("predecessors") |
|
673 | 672 | def showpredecessors(repo, ctx, **args): |
|
674 | """Returns the list if the closest visible successors | |
|
675 | """ | |
|
673 | """Returns the list if the closest visible successors.""" | |
|
676 | 674 | predecessors = sorted(obsutil.closestpredecessors(repo, ctx.node())) |
|
677 | 675 | predecessors = map(hex, predecessors) |
|
678 | 676 | |
@@ -682,10 +680,9 b' def showpredecessors(repo, ctx, **args):' | |||
|
682 | 680 | |
|
683 | 681 | @templatekeyword("successorssets") |
|
684 | 682 | def showsuccessorssets(repo, ctx, **args): |
|
685 | """Returns a string of sets of successors for a changectx | |
|
686 | ||
|
687 | Format used is: [ctx1, ctx2], [ctx3] if ctx has been splitted into ctx1 and | |
|
688 | ctx2 while also diverged into ctx3""" | |
|
683 | """Returns a string of sets of successors for a changectx. Format used | |
|
684 | is: [ctx1, ctx2], [ctx3] if ctx has been splitted into ctx1 and ctx2 | |
|
685 | while also diverged into ctx3.""" | |
|
689 | 686 | if not ctx.obsolete(): |
|
690 | 687 | return '' |
|
691 | 688 | args = pycompat.byteskwargs(args) |
@@ -714,11 +711,9 b' def showsuccessorssets(repo, ctx, **args' | |||
|
714 | 711 | |
|
715 | 712 | @templatekeyword("succsandmarkers") |
|
716 | 713 | def showsuccsandmarkers(repo, ctx, **args): |
|
717 | """Returns a list of dict for each final successor of ctx. | |
|
718 | ||
|
719 | The dict contains successors node id in "successors" keys and the list of | |
|
720 | obs-markers from ctx to the set of successors in "markers" | |
|
721 | ||
|
714 | """Returns a list of dict for each final successor of ctx. The dict | |
|
715 | contains successors node id in "successors" keys and the list of | |
|
716 | obs-markers from ctx to the set of successors in "markers". | |
|
722 | 717 | (EXPERIMENTAL) |
|
723 | 718 | """ |
|
724 | 719 | |
@@ -863,7 +858,6 b' def showtermwidth(repo, ctx, templ, **ar' | |||
|
863 | 858 | @templatekeyword('troubles') |
|
864 | 859 | def showtroubles(repo, **args): |
|
865 | 860 | """List of strings. Evolution troubles affecting the changeset. |
|
866 | ||
|
867 | 861 | (DEPRECATED) |
|
868 | 862 | """ |
|
869 | 863 | msg = ("'troubles' is deprecated, " |
@@ -875,7 +869,6 b' def showtroubles(repo, **args):' | |||
|
875 | 869 | @templatekeyword('instabilities') |
|
876 | 870 | def showinstabilities(**args): |
|
877 | 871 | """List of strings. Evolution instabilities affecting the changeset. |
|
878 | ||
|
879 | 872 | (EXPERIMENTAL) |
|
880 | 873 | """ |
|
881 | 874 | args = pycompat.byteskwargs(args) |
General Comments 0
You need to be logged in to leave comments.
Login now