Skip to content
Snippets Groups Projects
Commit 9bb180abc4d0 authored by Ronny Pfannschmidt's avatar Ronny Pfannschmidt
Browse files

subrepo: test & fix svn subrepo removal

parent f766882000c7
No related branches found
No related tags found
No related merge requests found
......@@ -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]])
......
......@@ -217,3 +217,8 @@
$ python -c "import os.path; print os.path.exists('s')"
True
update to nullrev (must delete the subrepo)
$ hg up null
0 files updated, 0 files merged, 3 files removed, 0 files unresolved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment