equal
deleted
inserted
replaced
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 |