Public Member Functions | Public Attributes | Private Member Functions
upload.SubversionVCS Class Reference
Inheritance diagram for upload.SubversionVCS:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def GenerateDiff
def GetBaseFile
def GetStatus
def GetUnknownFiles
def GuessBase
def ReadFile

Public Attributes

 rev_end
 rev_start
 svn_base
 svnls_cache

Private Member Functions

def _CollapseKeywords
def _GuessBase

Detailed Description

Implementation of the VersionControlSystem interface for Subversion.

Definition at line 721 of file upload.py.


Constructor & Destructor Documentation

def upload.SubversionVCS.__init__ (   self,
  options 
)
Constructor.

Args:
  options: Command line options.

Reimplemented from upload.VersionControlSystem.

Definition at line 724 of file upload.py.


Member Function Documentation

def upload.SubversionVCS._CollapseKeywords (   self,
  content,
  keyword_str 
) [private]
Collapses SVN keywords.

Definition at line 805 of file upload.py.

def upload.SubversionVCS._GuessBase (   self,
  required 
) [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 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 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 upload.py.

def upload.SubversionVCS.GetStatus (   self,
  filename 
)
Returns the status of a file.

Definition at line 854 of file upload.py.

Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 836 of file upload.py.

def upload.SubversionVCS.GuessBase (   self,
  required 
)
Wrapper for _GuessBase.

Definition at line 742 of file upload.py.

def upload.SubversionVCS.ReadFile (   self,
  filename 
)
Returns the contents of a file.

Definition at line 844 of file upload.py.


Member Data Documentation

Definition at line 724 of file upload.py.

Definition at line 724 of file upload.py.

Definition at line 724 of file upload.py.

Definition at line 724 of file upload.py.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12