# HG changeset patch # User Saurabh Singh # Date 2017-09-01 01:35:39 # Node ID 7e9ccb1670e3069c9b6130e549981b664d546eb1 # Parent ae92e5c0441ca83c633d484a6853af93396f2ff5 amend: rectify comment Comment was ambiguous as there can be two parents of a changeset in mercurial. This commit fixes the comment to clarify that the first parent is being considered. Test Plan: ran the test suite Differential Revision: https://phab.mercurial-scm.org/D595 diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -3069,7 +3069,7 @@ def amend(ui, repo, commitfunc, old, ext # | # old o - changeset to amend # | - # base o - parent of amending changeset + # base o - first parent of the changeset to amend # Update extra dict from amended commit (e.g. to preserve graft # source)