118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 | |
def rename(self, target, msg="renamed by py lib invocation"): |
""" rename this path to target with checkin message msg. """ |
if getattr(self, 'rev', None) is not None: |
raise py.error.EINVAL(self, "revisions are immutable") |
py.process.cmdexec('svn move -m "%s" --force "%s" "%s"' %( |
msg, self._escape(self), self._escape(target))) |
-> self._lsnorevcache.delentry(self.dirpath().strpath) |
self._lsnorevcache.delentry(self.strpath) | |