amend: delete dead assignment to "newid"
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 06 Sep 2017 10:42:02 -0700
changeset 34080 4059b10d7490
parent 34079 1104718fb090
child 34081 5dc6ac6555e6
amend: delete dead assignment to "newid" Differential Revision: https://phab.mercurial-scm.org/D638
mercurial/cmdutil.py
--- 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'