def _revspec_from_revision(self, revision):
        if revision == HEAD:
            revspec = 'last:1'
        elif revision.startswith('revid:'):
            revspec = revision
        else:
            revspec = 'date:' + six.text_type(
                self._revision_timestamp_to_local(revision))

        return revspec
__eq__(other: Mashup) -> boolean
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/scmtools/bzr.py/BZRTool._revspec_from_revision--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/mashup/mashup.py/Mashup.__eq__