mercurial/subrepo.py
changeset 10962 8d5f5122a732
parent 10699 7b0a0d498cc0
parent 10954 33119d0252c1
child 11078 37d1b20168d1
--- a/mercurial/subrepo.py	Fri Apr 16 23:59:43 2010 +0200
+++ b/mercurial/subrepo.py	Mon Apr 19 17:00:02 2010 -0500
@@ -274,7 +274,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)