mercurial/subrepo.py
changeset 10197 29e3c4a7699b
parent 10183 572dd10fa308
child 10199 c2e2a5e6c36b
equal deleted inserted replaced
10196:20d849251fe6 10197:29e3c4a7699b
   259 
   259 
   260     def _svncommand(self, commands):
   260     def _svncommand(self, commands):
   261         cmd = ['svn'] + commands + [self._path]
   261         cmd = ['svn'] + commands + [self._path]
   262         cmd = [util.shellquote(arg) for arg in cmd]
   262         cmd = [util.shellquote(arg) for arg in cmd]
   263         cmd = util.quotecommand(' '.join(cmd))
   263         cmd = util.quotecommand(' '.join(cmd))
   264         write, read, err = util.popen3(cmd)
   264         write, read, err = util.popen3(cmd, newlines=True)
   265         retdata = read.read()
   265         retdata = read.read()
   266         err = err.read().strip()
   266         err = err.read().strip()
   267         if err:
   267         if err:
   268             raise util.Abort(err)
   268             raise util.Abort(err)
   269         return retdata
   269         return retdata