Mercurial > public > mercurial-scm > hg
diff mercurial/subrepo.py @ 13332:927e3940bfc3 stable
subrepo: fix update -C with svn subrepos when cwd != repo.root
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 01 Feb 2011 21:39:28 +0100 |
parents | c19b9282d3a7 |
children | 60792fa3c1a8 |
line wrap: on
line diff
--- 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])