Patchwork [6,of,6] help: document about "export" template keywords

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 3, 2018, 2:09 p.m.
Message ID <4b485ae732aea8285de9.1538575745@mimosa>
Download mbox | patch
Permalink /patch/35364/
State New
Headers show

Comments

Yuya Nishihara - Oct. 3, 2018, 2:09 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1538574499 -32400
#      Wed Oct 03 22:48:19 2018 +0900
# Node ID 4b485ae732aea8285de993cecc59e60a22780c53
# Parent  5657857137840bbb4406c7d5ca2b17b99918eb94
help: document about "export" template keywords

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2033,6 +2033,14 @@  def export(ui, repo, *changesets, **opts
 
     .. container:: verbose
 
+      Template:
+
+      The following keywords are supported in addition to the common template
+      keywords and functions. See also :hg:`help templates`.
+
+      :diff:    String. Diff content.
+      :parents: List of strings. Parent nodes of the changeset.
+
       Examples:
 
       - use export and import to transplant a bugfix to the current