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
This commit is contained in:
Saurabh Singh 2017-08-31 18:35:39 -07:00
parent 2e3d37be51
commit 27a654fdd5

View File

@ -3069,7 +3069,7 @@ def amend(ui, repo, commitfunc, old, extra, pats, opts):
# |
# 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)