##// END OF EJS Templates
subrepo: improve error message when svn isn't found...
Matt Mackall -
r15190:6dc67dce default
parent child Browse files
Show More
@@ -548,9 +548,13 b' class svnsubrepo(abstractsubrepo):'
548 548 self._state = state
549 549 self._ctx = ctx
550 550 self._ui = ctx._repo.ui
551 self._exe = util.findexe('svn')
552 if not self._exe:
553 raise util.Abort(_("'svn' executable not found for subrepo '%s'")
554 % self._path)
551 555
552 556 def _svncommand(self, commands, filename='', failok=False):
553 cmd = ['svn']
557 cmd = [self._exe]
554 558 extrakw = {}
555 559 if not self._ui.interactive():
556 560 # Making stdin be a pipe should prevent svn from behaving
General Comments 0
You need to be logged in to leave comments. Login now