Mercurial > public > mercurial-scm > hg
diff mercurial/subrepo.py @ 10954:33119d0252c1 stable
subrepo: fix repo root path handling in svn subrepo
author | Brett Cannon <brett@python.org> |
---|---|
date | Sun, 18 Apr 2010 14:20:08 -0700 |
parents | c90d923fff64 |
children | 8d5f5122a732 49e14ec67144 |
line wrap: on
line diff
--- a/mercurial/subrepo.py Thu Apr 08 00:13:33 2010 +0900 +++ b/mercurial/subrepo.py Sun Apr 18 14:20:08 2010 -0700 @@ -273,7 +273,8 @@ self._ui = ctx._repo.ui def _svncommand(self, commands): - cmd = ['svn'] + commands + [self._path] + path = os.path.join(self._ctx._repo.origroot, self._path) + cmd = ['svn'] + commands + [path] cmd = [util.shellquote(arg) for arg in cmd] cmd = util.quotecommand(' '.join(cmd)) env = dict(os.environ)