| Trees | Indices | Help |
|
|---|
|
|
The super class for all version control classes.
Always inherit from this class to implement another RC interface.
At least the two attributes "RCS_METADIR" and "SCAN_PARENTS" must be
overriden by all implementations that derive from this class.
By default, all implementations can rely on the following attributes:
root_dir: the parent of the metadata directory of the working copy
location_abs: the absolute path of the RCS object
location_rel: the path of the RCS object relative to 'root_dir'
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
RCS_METADIR = NoneThe name of the metadata directory of the RCS |
|||
SCAN_PARENTS = Nonewhether to check the parent directories for the metadata directory of the RCS working copy |
|||
|
|||
find the relevant information about this RCS object The IOError exception indicates that the specified object (file or directory) is not controlled by the given version control system. |
Try to find the metadata directory of the RCS
returns a tuple:
the absolute path of the directory, that contains the metadata directory
the absolute path of the RCS object
the relative path of the RCS object based on the directory above
|
Check if all necessary attributes are defined Useful to make sure, that a new implementation does not forget something like "RCS_METADIR" |
|
|||
RCS_METADIRThe name of the metadata directory of the RCS e.g.: for Subversion -> ".svn"
|
SCAN_PARENTSwhether to check the parent directories for the metadata directory of the RCS working copy some revision control systems store their metadata directory only in the base of the working copy (e.g. bzr, GIT and Darcs) use "True" for these RCS other RCS store a metadata directory in every single directory of the working copy (e.g. Subversion and CVS) use "False" for these RCS
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Mar 26 12:49:30 2008 | http://epydoc.sourceforge.net |