code: def new(self, oldhexsha, newhexsha, actor, time, tz_offset, message):
          
          if not isinstance(actor, Actor):
              raise ValueError("Need actor instance, got %s" % actor)
          # END check types
          return RefLogEntry((oldhexsha, newhexsha, actor, (time, tz_offset), message))
docs: :return: New instance of a RefLogEntry