##// END OF EJS Templates
subrepos: let caller specify a filename for SVN commands
Martin Geisler -
r11560:ea2cdee9 default
parent child Browse files
Show More
@@ -318,8 +318,8 b' class svnsubrepo(abstractsubrepo):'
318 self._ctx = ctx
318 self._ctx = ctx
319 self._ui = ctx._repo.ui
319 self._ui = ctx._repo.ui
320
320
321 def _svncommand(self, commands):
321 def _svncommand(self, commands, filename=''):
322 path = os.path.join(self._ctx._repo.origroot, self._path)
322 path = os.path.join(self._ctx._repo.origroot, self._path, filename)
323 cmd = ['svn'] + commands + [path]
323 cmd = ['svn'] + commands + [path]
324 cmd = [util.shellquote(arg) for arg in cmd]
324 cmd = [util.shellquote(arg) for arg in cmd]
325 cmd = util.quotecommand(' '.join(cmd))
325 cmd = util.quotecommand(' '.join(cmd))
General Comments 0
You need to be logged in to leave comments. Login now