tesseract v5.3.3.20231005
|
Public Member Functions | |
def | __init__ (self, options) |
def | GuessBase (self, required) |
def | GenerateDiff (self, args) |
def | GetUnknownFiles (self) |
def | ReadFile (self, filename) |
def | GetStatus (self, filename) |
def | GetBaseFile (self, filename) |
![]() | |
def | __init__ (self, options) |
def | GenerateDiff (self, args) |
def | GetUnknownFiles (self) |
def | CheckForUnknownFiles (self) |
def | GetBaseFile (self, filename) |
def | GetBaseFiles (self, diff) |
def | UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files) |
def | IsImage (self, filename) |
Public Attributes | |
rev_start | |
rev_end | |
svnls_cache | |
svn_base | |
![]() | |
options | |
Implementation of the VersionControlSystem interface for Subversion.
def upload.SubversionVCS.__init__ | ( | self, | |
options | |||
) |
Constructor. Args: options: Command line options.
Reimplemented from upload.VersionControlSystem.
Definition at line 739 of file upload.py.
def upload.SubversionVCS.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 805 of file upload.py.
def upload.SubversionVCS.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 913 of file upload.py.
def upload.SubversionVCS.GetStatus | ( | self, | |
filename | |||
) |
Returns the status of a file.
Definition at line 869 of file upload.py.
def upload.SubversionVCS.GetUnknownFiles | ( | self | ) |
Return a list of files unknown to the VCS.
Reimplemented from upload.VersionControlSystem.
Definition at line 851 of file upload.py.
def upload.SubversionVCS.GuessBase | ( | self, | |
required | |||
) |
def upload.SubversionVCS.ReadFile | ( | self, | |
filename | |||
) |
Returns the contents of a file.
Definition at line 859 of file upload.py.