hgext/rebase.py
changeset 46862 82b17bfc13eb
parent 46837 27ba8acd5684
child 46863 d9601243b73c
equal deleted inserted replaced
46861:c7c6c11fe1e4 46862:82b17bfc13eb
   348 
   348 
   349         return data
   349         return data
   350 
   350 
   351     def _handleskippingobsolete(self):
   351     def _handleskippingobsolete(self):
   352         """Compute structures necessary for skipping obsolete revisions"""
   352         """Compute structures necessary for skipping obsolete revisions"""
   353         self.obsolete_with_successor_in_destination = {}
       
   354         if not self.ui.configbool(b'experimental', b'rebaseskipobsolete'):
   353         if not self.ui.configbool(b'experimental', b'rebaseskipobsolete'):
   355             return
   354             return
   356         obsoleteset = {r for r in self.state if self.repo[r].obsolete()}
   355         obsoleteset = {r for r in self.state if self.repo[r].obsolete()}
   357         (
   356         (
   358             self.obsolete_with_successor_in_destination,
   357             self.obsolete_with_successor_in_destination,