D638: amend: delete dead assignment to "newid"

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Sep 7 10:54:34 EDT 2017


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

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'



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


More information about the Mercurial-devel mailing list