Public Member Functions | Public Attributes | Private Member Functions | List of all members
upload.MercurialVCS Class Reference
Inheritance diagram for upload.MercurialVCS:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, options, repo_dir)
 
def __init__ (self, options, repo_dir)
 
def __init__ (self, options, repo_dir)
 
def __init__ (self, options, repo_dir)
 
def __init__ (self, options, repo_dir)
 
def __init__ (self, options, repo_dir)
 
def __init__ (self, options, repo_dir)
 
def GenerateDiff (self, extra_args)
 
def GenerateDiff (self, extra_args)
 
def GenerateDiff (self, extra_args)
 
def GenerateDiff (self, extra_args)
 
def GenerateDiff (self, extra_args)
 
def GenerateDiff (self, extra_args)
 
def GenerateDiff (self, extra_args)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetBaseFile (self, filename)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
def GetUnknownFiles (self)
 
- Public Member Functions inherited from upload.VersionControlSystem
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def __init__ (self, options)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def CheckForUnknownFiles (self)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def GetBaseFiles (self, diff)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def IsImage (self, filename)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 
def UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files)
 

Public Attributes

 base_rev
 
 repo_dir
 
 subdir
 
- Public Attributes inherited from upload.VersionControlSystem
 options
 

Private Member Functions

def _GetRelPath (self, filename)
 
def _GetRelPath (self, filename)
 
def _GetRelPath (self, filename)
 
def _GetRelPath (self, filename)
 
def _GetRelPath (self, filename)
 
def _GetRelPath (self, filename)
 
def _GetRelPath (self, filename)
 

Detailed Description

Implementation of the VersionControlSystem interface for Mercurial.

Definition at line 1042 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

Constructor & Destructor Documentation

◆ __init__() [1/7]

def upload.MercurialVCS.__init__ (   self,
  options,
  repo_dir 
)

◆ __init__() [2/7]

def upload.MercurialVCS.__init__ (   self,
  options,
  repo_dir 
)

◆ __init__() [3/7]

def upload.MercurialVCS.__init__ (   self,
  options,
  repo_dir 
)

◆ __init__() [4/7]

def upload.MercurialVCS.__init__ (   self,
  options,
  repo_dir 
)

◆ __init__() [5/7]

def upload.MercurialVCS.__init__ (   self,
  options,
  repo_dir 
)

◆ __init__() [6/7]

def upload.MercurialVCS.__init__ (   self,
  options,
  repo_dir 
)

◆ __init__() [7/7]

def upload.MercurialVCS.__init__ (   self,
  options,
  repo_dir 
)

Member Function Documentation

◆ _GetRelPath() [1/7]

def upload.MercurialVCS._GetRelPath (   self,
  filename 
)
private
Get relative path of a file according to the current directory,
given its logical path in the repo.

Definition at line 1058 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ _GetRelPath() [2/7]

def upload.MercurialVCS._GetRelPath (   self,
  filename 
)
private
Get relative path of a file according to the current directory,
given its logical path in the repo.

Definition at line 1058 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ _GetRelPath() [3/7]

def upload.MercurialVCS._GetRelPath (   self,
  filename 
)
private
Get relative path of a file according to the current directory,
given its logical path in the repo.

Definition at line 1058 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ _GetRelPath() [4/7]

def upload.MercurialVCS._GetRelPath (   self,
  filename 
)
private
Get relative path of a file according to the current directory,
given its logical path in the repo.

Definition at line 1058 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ _GetRelPath() [5/7]

def upload.MercurialVCS._GetRelPath (   self,
  filename 
)
private
Get relative path of a file according to the current directory,
given its logical path in the repo.

Definition at line 1058 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ _GetRelPath() [6/7]

def upload.MercurialVCS._GetRelPath (   self,
  filename 
)
private
Get relative path of a file according to the current directory,
given its logical path in the repo.

Definition at line 1058 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ _GetRelPath() [7/7]

def upload.MercurialVCS._GetRelPath (   self,
  filename 
)
private
Get relative path of a file according to the current directory,
given its logical path in the repo.

Definition at line 1073 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

◆ GenerateDiff() [1/7]

def upload.MercurialVCS.GenerateDiff (   self,
  args 
)
Return the current diff as a string.

Args:
  args: Extra arguments to pass to the diff command.

Reimplemented from upload.VersionControlSystem.

Definition at line 1064 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ GenerateDiff() [2/7]

def upload.MercurialVCS.GenerateDiff (   self,
  args 
)
Return the current diff as a string.

Args:
  args: Extra arguments to pass to the diff command.

Reimplemented from upload.VersionControlSystem.

Definition at line 1064 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GenerateDiff() [3/7]

def upload.MercurialVCS.GenerateDiff (   self,
  args 
)
Return the current diff as a string.

Args:
  args: Extra arguments to pass to the diff command.

Reimplemented from upload.VersionControlSystem.

Definition at line 1064 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GenerateDiff() [4/7]

def upload.MercurialVCS.GenerateDiff (   self,
  args 
)
Return the current diff as a string.

Args:
  args: Extra arguments to pass to the diff command.

Reimplemented from upload.VersionControlSystem.

Definition at line 1064 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ GenerateDiff() [5/7]

def upload.MercurialVCS.GenerateDiff (   self,
  args 
)
Return the current diff as a string.

Args:
  args: Extra arguments to pass to the diff command.

Reimplemented from upload.VersionControlSystem.

Definition at line 1064 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GenerateDiff() [6/7]

def upload.MercurialVCS.GenerateDiff (   self,
  args 
)
Return the current diff as a string.

Args:
  args: Extra arguments to pass to the diff command.

Reimplemented from upload.VersionControlSystem.

Definition at line 1064 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GenerateDiff() [7/7]

def upload.MercurialVCS.GenerateDiff (   self,
  args 
)
Return the current diff as a string.

Args:
  args: Extra arguments to pass to the diff command.

Reimplemented from upload.VersionControlSystem.

Definition at line 1079 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

◆ GetBaseFile() [1/7]

def upload.MercurialVCS.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented from upload.VersionControlSystem.

Definition at line 1102 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFile() [2/7]

def upload.MercurialVCS.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented from upload.VersionControlSystem.

Definition at line 1102 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFile() [3/7]

def upload.MercurialVCS.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented from upload.VersionControlSystem.

Definition at line 1102 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ GetBaseFile() [4/7]

def upload.MercurialVCS.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented from upload.VersionControlSystem.

Definition at line 1102 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFile() [5/7]

def upload.MercurialVCS.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented from upload.VersionControlSystem.

Definition at line 1102 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFile() [6/7]

def upload.MercurialVCS.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented from upload.VersionControlSystem.

Definition at line 1102 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ GetBaseFile() [7/7]

def upload.MercurialVCS.GetBaseFile (   self,
  filename 
)
Get the content of the upstream version of a file.

Returns:
  A tuple (base_content, new_content, is_binary, status)
base_content: The contents of the base file.
new_content: For text files, this is empty.  For binary files, this is
  the contents of the new file, since the diff output won't contain
  information to reconstruct the current file.
is_binary: True iff the file is binary.
status: The status of the file.

Reimplemented from upload.VersionControlSystem.

Definition at line 1117 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

◆ GetUnknownFiles() [1/7]

def upload.MercurialVCS.GetUnknownFiles (   self)
Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1090 of file bloaty/third_party/googletest/googletest/scripts/upload.py.

◆ GetUnknownFiles() [2/7]

def upload.MercurialVCS.GetUnknownFiles (   self)
Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1090 of file bloaty/third_party/protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetUnknownFiles() [3/7]

def upload.MercurialVCS.GetUnknownFiles (   self)
Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1090 of file bloaty/third_party/protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetUnknownFiles() [4/7]

def upload.MercurialVCS.GetUnknownFiles (   self)
Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1090 of file protobuf/third_party/googletest/googletest/scripts/upload.py.

◆ GetUnknownFiles() [5/7]

def upload.MercurialVCS.GetUnknownFiles (   self)
Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1090 of file bloaty/third_party/googletest/googlemock/scripts/upload.py.

◆ GetUnknownFiles() [6/7]

def upload.MercurialVCS.GetUnknownFiles (   self)
Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1090 of file protobuf/third_party/googletest/googlemock/scripts/upload.py.

◆ GetUnknownFiles() [7/7]

def upload.MercurialVCS.GetUnknownFiles (   self)
Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1105 of file boringssl-with-bazel/src/third_party/googletest/scripts/upload.py.

Member Data Documentation

◆ base_rev

upload.MercurialVCS.base_rev

◆ repo_dir

upload.MercurialVCS.repo_dir

◆ subdir

upload.MercurialVCS.subdir

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:56