Lines Matching refs:kwargs

82   def new_f(*args, **kwargs):  argument
83 result = f(*args, **kwargs)
101 def GitIsWorkdirClean(self, **kwargs): argument
102 return self.Git("status -s -uno", **kwargs).strip() == ""
105 def GitBranch(self, **kwargs): argument
106 return self.Git("branch", **kwargs)
108 def GitCreateBranch(self, name, remote="", **kwargs): argument
111 self.Git(MakeArgs(["new-branch", name] + remote_args), **kwargs)
113 def GitDeleteBranch(self, name, **kwargs): argument
115 self.Git(MakeArgs(["branch -D", name]), **kwargs)
117 def GitReset(self, name, **kwargs): argument
119 self.Git(MakeArgs(["reset --hard", name]), **kwargs)
121 def GitStash(self, **kwargs): argument
122 self.Git(MakeArgs(["stash"]), **kwargs)
124 def GitRemotes(self, **kwargs): argument
126 self.Git(MakeArgs(["branch -r"]), **kwargs).splitlines())
128 def GitCheckout(self, name, **kwargs): argument
130 self.Git(MakeArgs(["checkout -f", name]), **kwargs)
132 def GitCheckoutFile(self, name, branch_or_hash, **kwargs): argument
135 self.Git(MakeArgs(["checkout -f", branch_or_hash, "--", name]), **kwargs)
137 def GitCheckoutFileSafe(self, name, branch_or_hash, **kwargs): argument
139 self.GitCheckoutFile(name, branch_or_hash, **kwargs)
145 def GitChangedFiles(self, git_hash, **kwargs): argument
150 "%s^" % git_hash]), **kwargs)
158 def GitCurrentBranch(self, **kwargs): argument
159 for line in self.Git("status -s -b -uno", **kwargs).strip().splitlines():
166 branch="", path=None, reverse=False, **kwargs): argument
184 return self.Git(MakeArgs(args), **kwargs)
186 def GitShowFile(self, refspec, path, **kwargs): argument
189 return self.Git(MakeArgs(["show", "%s:%s" % (refspec, path)]), **kwargs)
191 def GitGetPatch(self, git_hash, **kwargs): argument
193 return self.Git(MakeArgs(["log", "-1", "-p", git_hash]), **kwargs)
196 def GitAdd(self, name, **kwargs): argument
198 self.Git(MakeArgs(["add", Quoted(name)]), **kwargs)
200 def GitApplyPatch(self, patch_file, reverse=False, **kwargs): argument
206 self.Git(MakeArgs(args), **kwargs)
209 bypass_hooks=False, cc="", **kwargs): argument
225 self.Git(MakeArgs(args), pipe=False, **kwargs)
227 def GitCommit(self, message="", file_name="", author=None, **kwargs): argument
236 self.Git(MakeArgs(args), **kwargs)
238 def GitPresubmit(self, **kwargs): argument
239 self.Git("cl presubmit", "PRESUBMIT_TREE_CHECK=\"skip\"", **kwargs)
241 def GitCLLand(self, **kwargs): argument
243 "cl land -f --bypass-hooks", retry_on=lambda x: x is None, **kwargs)
245 def GitDiff(self, loc1, loc2, **kwargs): argument
246 return self.Git(MakeArgs(["diff", loc1, loc2]), **kwargs)
248 def GitPull(self, **kwargs): argument
249 self.Git("pull", **kwargs)
251 def GitFetchOrigin(self, *refspecs, **kwargs): argument
252 self.Git(MakeArgs(["fetch", "origin"] + list(refspecs)), **kwargs)
256 def GetCommitPositionNumber(self, git_hash, **kwargs): argument
265 git_log = self.GitLog(format='%B', n=1, git_hash=git_hash, **kwargs)
284 def GitGetHashOfTag(self, tag_name, **kwargs): argument