Patchwork D638: amend: delete dead assignment to "newid"

login
register
mail settings
Submitter phabricator
Date Sept. 7, 2017, 2:54 p.m.
Message ID <becb920eeb1f5cd41e82bcca097c7d81@localhost.localdomain>
Download mbox | patch
Permalink /patch/23719/
State Not Applicable
Headers show

Comments

phabricator - Sept. 7, 2017, 2:54 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4059b10d7490: amend: delete dead assignment to "newid" (authored by martinvonz).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D638?vs=1635&id=1660

REVISION DETAIL
  https://phab.mercurial-scm.org/D638

AFFECTED FILES
  mercurial/cmdutil.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, singhsrb
Cc: mercurial-devel

Patch

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -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'