code: def as_dict(self):
          
          data = get_dict_for_attrs(self, ['id', 'raw_id', 'short_id',
              'revision', 'date', 'message'])
          data['author'] = {'name': self.author_name, 'email': self.author_email}
          data['added'] = [node.path for node in self.added]
          data['changed'] = [node.path for node in self.changed]
          data['removed'] = [node.path for node in self.removed]
          return data
docs: Returns dictionary with changeset's attributes and their values.