githelp: add: mention that record and crecord make commits

Test Plan: inspection

Reviewers: sid0

Reviewed By: sid0

Differential Revision: https://phabricator.fb.com/D1880107

Signature: t1:1880107:1425330619:fff59776e78c2b082e3618a07eb09e8f2bb6f04b

Blame Revision: D1782964
This commit is contained in:
Ryan McElroy 2015-02-27 21:57:51 -08:00
parent 3816687569
commit 6f163f4e19

View File

@ -138,7 +138,9 @@ def add(ui, repo, *args, **kwargs):
args, opts = parseoptions(ui, cmdoptions, args)
if (opts.get('patch')):
ui.status("note: hg crecord provides a more powerful UI for recording changes\n\n")
ui.status("note: hg crecord provides a more powerful UI for recording changes\n")
ui.status("note: record and crecord will commit when complete, as there is no staging area in mercurial\n\n")
cmd = Command('record')
else:
cmd = Command("add")