branch | stable |
changeset 13332 | 927e3940bfc3 |
parent 13322 | c19b9282d3a7 |
child 13333 | 60792fa3c1a8 |
--- a/mercurial/subrepo.py Tue Feb 01 07:29:11 2011 +0000 +++ b/mercurial/subrepo.py Tue Feb 01 21:39:28 2011 +0100 @@ -591,7 +591,7 @@ def get(self, state, overwrite=False): if overwrite: - self._svncommand(['revert', '--recursive', self._path]) + self._svncommand(['revert', '--recursive']) status = self._svncommand(['checkout', state[0], '--revision', state[1]]) if not re.search('Checked out revision [0-9]+.', status): raise util.Abort(status.splitlines()[-1])