diff mercurial/subrepo.py @ 10962:8d5f5122a732

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Mon, 19 Apr 2010 17:00:02 -0500
parents 7b0a0d498cc0 33119d0252c1
children 37d1b20168d1
line wrap: on
line diff
--- 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)