|
| | __init__ (self, options) |
| | GenerateDiff (self, extra_args) |
| | GetUnknownFiles (self) |
| | GetBaseFile (self, filename) |
| | __init__ (self, options) |
| | GenerateDiff (self, extra_args) |
| | GetUnknownFiles (self) |
| | GetBaseFile (self, filename) |
| | __init__ (self, options) |
| | CheckForUnknownFiles (self) |
| | GetBaseFiles (self, diff) |
| | UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files) |
| | IsImage (self, filename) |
| | __init__ (self, options) |
| | CheckForUnknownFiles (self) |
| | GetBaseFiles (self, diff) |
| | UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files) |
| | IsImage (self, filename) |
Implementation of the VersionControlSystem interface for Git.
| upload.GitVCS.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.
| upload.GitVCS.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.