code: def save(self):
          
          files = [f.depotFile for f in self._files]
          cmd = ['reopen', '-c', 'default']
          self._connection.run(cmd + files)
          self._dirty = False
docs: Saves the state of the changelist