diff -r 9d88597470af -r ea2cdee9a1fe mercurial/subrepo.py --- a/mercurial/subrepo.py Wed Jul 14 20:25:31 2010 +0200 +++ b/mercurial/subrepo.py Wed Jul 14 20:25:31 2010 +0200 @@ -318,8 +318,8 @@ self._ctx = ctx self._ui = ctx._repo.ui - def _svncommand(self, commands): - path = os.path.join(self._ctx._repo.origroot, self._path) + def _svncommand(self, commands, filename=''): + path = os.path.join(self._ctx._repo.origroot, self._path, filename) cmd = ['svn'] + commands + [path] cmd = [util.shellquote(arg) for arg in cmd] cmd = util.quotecommand(' '.join(cmd))