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

List of all members.

Public Member Functions

def __init__
def GenerateDiff
def GetBaseFile
def GetUnknownFiles

Public Attributes

 base_rev
 repo_dir
 subdir

Private Member Functions

def _GetRelPath

Detailed Description

Implementation of the VersionControlSystem interface for Mercurial.

Definition at line 1042 of file upload.py.


Constructor & Destructor Documentation

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

Definition at line 1045 of file upload.py.


Member Function Documentation

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 upload.py.

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 upload.py.

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 upload.py.

Return a list of files unknown to the VCS.

Reimplemented from upload.VersionControlSystem.

Definition at line 1090 of file upload.py.


Member Data Documentation

Definition at line 1045 of file upload.py.

Definition at line 1045 of file upload.py.

Definition at line 1045 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