branch | stable |
changeset 12930 | 9bb180abc4d0 |
parent 12852 | 5dbff89cf107 |
child 12992 | 2b73a3279a9f |
child 13013 | 92b0d669637f |
--- a/mercurial/subrepo.py Mon Nov 01 17:40:17 2010 -0500 +++ b/mercurial/subrepo.py Fri Nov 05 15:13:22 2010 +0100 @@ -549,7 +549,7 @@ 'it has changes.\n' % self._path)) return self._ui.note(_('removing subrepo %s\n') % self._path) - shutil.rmtree(self._ctx.repo.join(self._path)) + shutil.rmtree(self._ctx._repo.wjoin(self._path)) def get(self, state): status = self._svncommand(['checkout', state[0], '--revision', state[1]])