mercurial/upgrade_utils/actions.py
changeset 46447 2e8a844d0ae0
parent 46334 6e81446bf1d9
child 46448 a83e1496d943
equal deleted inserted replaced
46446:e92ca942ddca 46447:2e8a844d0ae0
   624         new_requirements,
   624         new_requirements,
   625         current_requirements,
   625         current_requirements,
   626         upgrade_actions,
   626         upgrade_actions,
   627         removed_actions,
   627         removed_actions,
   628         revlogs_to_process,
   628         revlogs_to_process,
       
   629         backup_store,
   629     ):
   630     ):
   630         self.ui = ui
   631         self.ui = ui
   631         self.new_requirements = new_requirements
   632         self.new_requirements = new_requirements
   632         self.current_requirements = current_requirements
   633         self.current_requirements = current_requirements
   633         # list of upgrade actions the operation will perform
   634         # list of upgrade actions the operation will perform
   668         # should this operation force re-delta of both parents
   669         # should this operation force re-delta of both parents
   669         self.force_re_delta_both_parents = (
   670         self.force_re_delta_both_parents = (
   670             b're-delta-multibase' in self._upgrade_actions_names
   671             b're-delta-multibase' in self._upgrade_actions_names
   671         )
   672         )
   672 
   673 
       
   674         # should this operation create a backup of the store
       
   675         self.backup_store = backup_store
       
   676 
   673     def _write_labeled(self, l, label):
   677     def _write_labeled(self, l, label):
   674         """
   678         """
   675         Utility function to aid writing of a list under one label
   679         Utility function to aid writing of a list under one label
   676         """
   680         """
   677         first = True
   681         first = True