Patchwork [3,of,7] help: document about "paths" template keywords

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 7, 2018, 2:32 p.m.
Message ID <df05cead5b1b6b06939f.1538922746@mimosa>
Download mbox | patch
Permalink /patch/35535/
State New
Headers show

Comments

Yuya Nishihara - Oct. 7, 2018, 2:32 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1538920850 -32400
#      Sun Oct 07 23:00:50 2018 +0900
# Node ID df05cead5b1b6b06939f20790a43b696189a8012
# Parent  5125d75db27c42430eec6c8462e2890894be07b2
help: document about "paths" template keywords

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4099,6 +4099,16 @@  def paths(ui, repo, search=None, **opts)
 
     See :hg:`help urls` for more information.
 
+    .. container:: verbose
+
+      Template:
+
+      The following keywords are supported. See also :hg:`help templates`.
+
+      :name:    String. Symbolic name of the path alias.
+      :pushurl: String. URL for push operations.
+      :url:     String. URL or directory path for the other operations.
+
     Returns 0 on success.
     """