third_party/blink/tools/blinkpy/w3c/gerrit.py
def fetch_current_revision_commit(self, host):
        """Fetches the git commit for the latest revision of CL.

        This method fetches the commit corresponding to the latest revision of
        CL to local Chromium repository, but does not checkout the commit to the
        working tree. All changes in the CL are squashed into this one commit,
        regardless of how many revisions have been uploaded.

        Args:
            host: A Host object for git invocation.

        Returns:
            A ChromiumCommit object (the fetched commit).
        """
        git = host.git(absolute_chromium_dir(host))
        url = self.current_revision['fetch']['http']['url']
        ref = self.current_revision['fetch']['http']['ref']
        git.run(['fetch', url, ref])
        sha = git.run(['rev-parse', 'FETCH_HEAD']).strip()
        return ChromiumCommit(host, sha=sha)
Fetches the git commit for the latest revision of CL.

        This method fetches the commit corresponding to the latest revision of
        CL to local Chromium repository, but does not checkout the commit to the
        working tree. All changes in the CL are squashed into this one commit,
        regardless of how many revisions have been uploaded.

        Args:
            host: A Host object for git invocation.

        Returns:
            A ChromiumCommit object (the fetched commit).
        
Fetches the git commit for the latest revision of CL.
This method fetches the commit corresponding to the latest revision of
CL to local Chromium repository, but does not checkout the commit to the
working tree. All changes in the CL are squashed into this one commit,
regardless of how many revisions have been uploaded.
Fetches the git commit for the latest revision of CL . This method fetches the commit corresponding to the latest revision of CL to local Chromium repository but does not checkout the commit to the working tree . All changes in the CL are squashed into this one commit regardless of how many revisions have been uploaded .
def fetch_current_revision_commit(self, host):
        git = host.git(absolute_chromium_dir(host))
        url = self.current_revision['fetch']['http']['url']
        ref = self.current_revision['fetch']['http']['ref']
        git.run(['fetch', url, ref])
        sha = git.run(['rev-parse', 'FETCH_HEAD']).strip()
        return ChromiumCommit(host, sha=sha)
def fetch_current_revision_commit ( self , host ) : git = host . git ( absolute_chromium_dir ( host ) ) url = self . current_revision [ 'fetch' ] [ 'http' ] [ 'url' ] ref = self . current_revision [ 'fetch' ] [ 'http' ] [ 'ref' ] git . run ( [ 'fetch' , url , ref ] ) sha = git . run ( [ 'rev-parse' , 'FETCH_HEAD' ] ) . strip ( ) return ChromiumCommit ( host , sha = sha )
Fetches the git commit for the latest revision of CL.
Fetches the git commit for the latest revision of CL .
"""Fetches the git commit for the latest revision of CL.

        This method fetches the commit corresponding to the latest revision of
        CL to local Chromium repository, but does not checkout the commit to the
        working tree. All changes in the CL are squashed into this one commit,
        regardless of how many revisions have been uploaded.

        Args:
            host: A Host object for git invocation.

        Returns:
            A ChromiumCommit object (the fetched commit).
        """
A ChromiumCommit object (the fetched commit).
A ChromiumCommit object ( the fetched commit ) .
self
host
A Host object for git invocation.
A Host object for git invocation .