'rename this path to target with checkin message msg.'

def rename(self, target, msg='renamed    by    py    lib    invocation'):

    if (getattr(self, 'rev', None) is not None):
        raise py.error.EINVAL(self, 'revisions    are    immutable')
    self._svncmdexecauth(('svn    move    -m    "%s"    --force    "%s"    "%s"' % (msg, self._escape(self), self._escape(target))))
    self._norev_delentry(self.dirpath())
    self._norev_delentry(self)
