def delete_sync_control_file!(branch_name)
      filename = sync_control_filename(branch_name)
      logger.debug { "Deleting sync control file, #{filename}" }

      # on some systems, especially Windows, the file may be locked. wait for it to unlock
      counter = 10
      while counter > 0
        begin
          File.delete(filename)
          counter = 0
        rescue
          counter = counter - 1
          sleep(0.25)
        end
      end
    end
def delete_sync_control_file!(branch_name)
      filename = sync_control_filename(branch_name)
      logger.debug { "Deleting sync control file, #{filename}" }

      # on some systems, especially Windows, the file may be locked. wait for it to unlock
      counter = 10
      while counter > 0
        begin
          File.delete(filename)
          counter = 0
        rescue
          counter = counter - 1
          sleep(0.25)
        end
      end
    end
Delete the sync control file for the branch

 @return [void]
 @see GitLib#write_sync_control_file