Lines Matching refs:cwd
198 def Command(cmd, args="", prefix="", pipe=True, cwd=None): argument
199 cwd = cwd or os.getcwd()
203 print "in %s" % cwd
207 return subprocess.check_output(cmd_line, shell=True, cwd=cwd)
209 return subprocess.check_call(cmd_line, shell=True, cwd=cwd)
246 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None): argument
247 return Command(cmd, args, prefix, pipe, cwd=cwd)
501 def Command(self, name, args, cwd=None): argument
503 name, args, "", True, cwd=cwd or self.default_cwd)
506 def Git(self, args="", prefix="", pipe=True, retry_on=None, cwd=None): argument
508 "git", args, prefix, pipe, cwd=cwd or self.default_cwd)
520 cwd=self.default_cwd)
546 def DeleteBranch(self, name, cwd=None): argument
547 for line in self.GitBranch(cwd=cwd).splitlines():
551 self.GitDeleteBranch(name, cwd=cwd)
557 def InitialEnvironmentChecks(self, cwd): argument
559 if not os.path.exists(os.path.join(cwd, ".git")): # pragma: no cover
561 "deleting it and rerunning this script." % cwd)
763 self.Command("fetch", "v8", cwd=self._options.work_dir)