Lines Matching refs:cwd
185 def Command(cmd, args="", prefix="", pipe=True, cwd=None): argument
186 cwd = cwd or os.getcwd()
190 print "in %s" % cwd
194 return subprocess.check_output(cmd_line, shell=True, cwd=cwd)
196 return subprocess.check_call(cmd_line, shell=True, cwd=cwd)
209 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None): argument
210 return Command(cmd, args, prefix, pipe, cwd=cwd)
344 def Command(self, name, args, cwd=None): argument
346 name, args, "", True, cwd=cwd or self.default_cwd)
349 def Git(self, args="", prefix="", pipe=True, retry_on=None, cwd=None): argument
351 "git", args, prefix, pipe, cwd=cwd or self.default_cwd)
357 def SVN(self, args="", prefix="", pipe=True, retry_on=None, cwd=None): argument
359 "svn", args, prefix, pipe, cwd=cwd or self.default_cwd)
368 cwd=self.default_cwd)
405 def InitialEnvironmentChecks(self, cwd): argument
407 if not os.path.exists(os.path.join(cwd, ".git")): # pragma: no cover
523 self.Command("svn", "update", cwd=self._options.svn)
524 if self.Command("svn", "status", cwd=self._options.svn) != "":
528 cwd=self._options.svn):
534 cwd=self._options.svn)