amend: delete dead assignment to "newid"
Differential Revision: https://phab.mercurial-scm.org/D638
--- a/mercurial/cmdutil.py Fri Sep 01 17:09:53 2017 -0700
+++ b/mercurial/cmdutil.py Wed Sep 06 10:42:02 2017 -0700
@@ -3163,7 +3163,6 @@
return old.node()
ph = repo.ui.config('phases', 'new-commit', phases.draft)
- newid = None
try:
if opts.get('secret'):
commitphase = 'secret'