Lines Matching refs:rv
158 rv = self._run(cmd, ignore_status=ignore_status)
159 if rv.exit_status != 0 and error_class is not None:
162 logging.error(rv.stderr)
164 else rv.stderr)
166 return rv
192 rv = self.gitcmd(cmd, True)
193 if rv.exit_status != 0:
194 logging.error(rv.stderr)
195 raise GitCloneError('Failed to clone git url', rv)
197 logging.info(rv.stdout)
216 rv = self.gitcmd(cmd, True)
217 if rv.exit_status != 0:
218 logging.error(rv.stderr)
220 raise GitPullError(e_msg, rv)
229 rv = self.gitcmd('commit -a -m \'%s\'' % msg)
230 if rv.exit_status != 0:
231 logging.error(rv.stderr)
232 raise GitCommitError('Unable to commit', rv)
270 rv = self.gitcmd(cmd)
271 if rv.exit_status != 0:
272 logging.error(rv.stderr)
273 raise GitPushError('Unable to push', rv)
276 return rv.stderr
301 rv = self.gitcmd('reset --hard HEAD')
302 if rv.exit_status != 0:
303 logging.error(rv.stderr)
305 raise GitResetError(e_msg, rv)
315 rv = self.gitcmd('fetch --all')
316 if rv.exit_status != 0:
317 logging.error(rv.stderr)
319 raise GitFetchError(e_msg, rv)
340 rv = self.gitcmd('update-index --refresh -q',
343 rv = self.gitcmd(
347 if rv.stdout:
348 logging.error(rv.stdout)
350 raise GitError(e_msg % rv.stdout)
441 rv = self.gitcmd(cmd, True)
442 if rv.exit_status == 0:
459 rv = self.gitcmd(cmd, True)
460 if rv.exit_status == 0:
461 return rv.stdout