Lines Matching refs:revision
39 def SyncToRevisionWithGClient(self, revision):
40 """Uses gclient to sync to the specified revision.
42 This is like running gclient sync --revision <revision>.
45 revision: A git SHA1 hash or SVN revision number (depending on workflow).
51 '--delete_unversioned_trees', '--nohooks', '--revision', revision])
97 def SyncToRevision(self, revision, sync_client=None):
98 """Syncs to the specified revision.
101 revision: The revision to sync to.
110 results = bisect_utils.RunGit(['checkout', revision])[1]
112 results = self.SyncToRevisionWithGClient(revision)
114 results = self.SyncToRevisionWithRepo(revision)
120 """Tries to resolve an SVN revision or commit position to a git SHA1.
123 revision_to_check: The user supplied revision string that may need to be
212 commit position the given revision.
230 def QueryRevisionInfo(self, revision, cwd=None):
231 """Gathers information on a particular revision, such as author's name,
235 revision: Revision you want to gather information on.
253 cmd = ['log', '--format=%s' % formats[i], '-1', revision]
259 def CheckoutFileAtRevision(self, file_name, revision, cwd=None):
260 """Performs a checkout on a file at the given revision.
266 ['checkout', revision, file_name], cwd=cwd)[1]
284 revision_start: Start of revision range.
285 revision_end: End of revision range.