
Public Member Functions | |
| def | __init__ (self, options) |
| def | __init__ (self, options) |
| def | GenerateDiff (self, args) |
| def | GenerateDiff (self, args) |
| def | GetBaseFile (self, filename) |
| def | GetBaseFile (self, filename) |
| def | GetStatus (self, filename) |
| def | GetStatus (self, filename) |
| def | GetUnknownFiles (self) |
| def | GetUnknownFiles (self) |
| def | GuessBase (self, required) |
| def | GuessBase (self, required) |
| def | ReadFile (self, filename) |
| def | ReadFile (self, filename) |
Public Member Functions inherited from upload.VersionControlSystem | |
| def | CheckForUnknownFiles (self) |
| def | CheckForUnknownFiles (self) |
| def | GetBaseFiles (self, diff) |
| def | GetBaseFiles (self, diff) |
| 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) |
Public Attributes | |
| rev_end | |
| rev_start | |
| svn_base | |
| svnls_cache | |
Public Attributes inherited from upload.VersionControlSystem | |
| options | |
Private Member Functions | |
| def | _CollapseKeywords (self, content, keyword_str) |
| def | _CollapseKeywords (self, content, keyword_str) |
| def | _GuessBase (self, required) |
| def | _GuessBase (self, required) |
Implementation of the VersionControlSystem interface for Subversion.
Definition at line 721 of file googlemock/scripts/upload.py.
| def upload.SubversionVCS.__init__ | ( | self, | |
| options | |||
| ) |
Constructor. Args: options: Command line options.
Reimplemented from upload.VersionControlSystem.
Definition at line 724 of file googlemock/scripts/upload.py.
| def upload.SubversionVCS.__init__ | ( | self, | |
| options | |||
| ) |
Constructor. Args: options: Command line options.
Reimplemented from upload.VersionControlSystem.
Definition at line 724 of file googletest/scripts/upload.py.
|
private |
Collapses SVN keywords.
Definition at line 805 of file googlemock/scripts/upload.py.
|
private |
Collapses SVN keywords.
Definition at line 805 of file googletest/scripts/upload.py.
|
private |
Returns the SVN base URL. Args: required: If true, exits if the url can't be guessed, otherwise None is returned.
Definition at line 746 of file googlemock/scripts/upload.py.
|
private |
Returns the SVN base URL. Args: required: If true, exits if the url can't be guessed, otherwise None is returned.
Definition at line 746 of file googletest/scripts/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 790 of file googletest/scripts/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 790 of file googlemock/scripts/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 898 of file googlemock/scripts/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 898 of file googletest/scripts/upload.py.
| def upload.SubversionVCS.GetStatus | ( | self, | |
| filename | |||
| ) |
Returns the status of a file.
Definition at line 854 of file googletest/scripts/upload.py.
| def upload.SubversionVCS.GetStatus | ( | self, | |
| filename | |||
| ) |
Returns the status of a file.
Definition at line 854 of file googlemock/scripts/upload.py.
| def upload.SubversionVCS.GetUnknownFiles | ( | self | ) |
Return a list of files unknown to the VCS.
Reimplemented from upload.VersionControlSystem.
Definition at line 836 of file googlemock/scripts/upload.py.
| def upload.SubversionVCS.GetUnknownFiles | ( | self | ) |
Return a list of files unknown to the VCS.
Reimplemented from upload.VersionControlSystem.
Definition at line 836 of file googletest/scripts/upload.py.
| def upload.SubversionVCS.GuessBase | ( | self, | |
| required | |||
| ) |
Wrapper for _GuessBase.
Definition at line 742 of file googletest/scripts/upload.py.
| def upload.SubversionVCS.GuessBase | ( | self, | |
| required | |||
| ) |
Wrapper for _GuessBase.
Definition at line 742 of file googlemock/scripts/upload.py.
| def upload.SubversionVCS.ReadFile | ( | self, | |
| filename | |||
| ) |
Returns the contents of a file.
Definition at line 844 of file googletest/scripts/upload.py.
| def upload.SubversionVCS.ReadFile | ( | self, | |
| filename | |||
| ) |
Returns the contents of a file.
Definition at line 844 of file googlemock/scripts/upload.py.
| upload.SubversionVCS.rev_end |
Definition at line 731 of file googlemock/scripts/upload.py.
| upload.SubversionVCS.rev_start |
Definition at line 730 of file googlemock/scripts/upload.py.
| upload.SubversionVCS.svn_base |
Definition at line 740 of file googlemock/scripts/upload.py.
| upload.SubversionVCS.svnls_cache |
Definition at line 736 of file googlemock/scripts/upload.py.