changeset 46862:82b17bfc13eb

rebase: remove duplicate initialization of a field `obsolete_with_successor_in_destination` is already initialized in the constructor. Differential Revision: https://phab.mercurial-scm.org/D10268
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 25 Mar 2021 08:38:16 -0700
parents c7c6c11fe1e4
children d9601243b73c
files hgext/rebase.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/rebase.py	Mon Apr 05 12:22:12 2021 +0200
+++ b/hgext/rebase.py	Thu Mar 25 08:38:16 2021 -0700
@@ -350,7 +350,6 @@
 
     def _handleskippingobsolete(self):
         """Compute structures necessary for skipping obsolete revisions"""
-        self.obsolete_with_successor_in_destination = {}
         if not self.ui.configbool(b'experimental', b'rebaseskipobsolete'):
             return
         obsoleteset = {r for r in self.state if self.repo[r].obsolete()}