changeset 34097:4059b10d7490

amend: delete dead assignment to "newid" Differential Revision: https://phab.mercurial-scm.org/D638
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 06 Sep 2017 10:42:02 -0700
parents 1104718fb090
children 5dc6ac6555e6
files mercurial/cmdutil.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'