equal
deleted
inserted
replaced
599 except OSError: |
599 except OSError: |
600 pass |
600 pass |
601 |
601 |
602 def get(self, state, overwrite=False): |
602 def get(self, state, overwrite=False): |
603 if overwrite: |
603 if overwrite: |
604 self._svncommand(['revert', '--recursive', self._path]) |
604 self._svncommand(['revert', '--recursive']) |
605 status = self._svncommand(['checkout', state[0], '--revision', state[1]]) |
605 status = self._svncommand(['checkout', state[0], '--revision', state[1]]) |
606 if not re.search('Checked out revision [0-9]+.', status): |
606 if not re.search('Checked out revision [0-9]+.', status): |
607 raise util.Abort(status.splitlines()[-1]) |
607 raise util.Abort(status.splitlines()[-1]) |
608 self._ui.status(status) |
608 self._ui.status(status) |
609 |
609 |