Class Method | check_dependencies |
Check if the dependencies for the requested vcs are ok @param vcs: the requested vcs: VCS.BZR, VCS.GIT, VCS.HG or VCS.FOSSIL @returns: True if dependencies are checked ok. |
Class Method | create |
Build the required instance of a Version Control System |
Class Method | detect_in_folder |
No summary |
Class Method | get_backend |
Return the class of backend to instantiate according to vcs given as parameter. @param vcs: the wanted vcs backend (VCS.BZR, VCS.GIT, VCS.HG, ...) @returns: the related backend class. The returned class is a VCSApplicationBase child class |
Constant | BZR |
Undocumented |
Constant | FOSSIL |
Undocumented |
Constant | GIT |
Undocumented |
Constant | HG |
Undocumented |
Class Method | _detect_in_folder |
Undocumented |
Parameters | |
klass | Undocumented |
vcs | the requested vcs: VCS.BZR, VCS.GIT, VCS.HG or VCS.FOSSIL |
Returns | |
True if dependencies are checked ok. |
Parameters | |
klass | Undocumented |
vcs | Version Control System to build (choose between VCS.BZR, VCS.HG, VCS.GIT, VCS.FOSSIL) |
vcs_dir | a Dir instance representing the VCS root folder |
notebook_dir | a Dir instance representing the notebook root folder (must be equal to or below vcs_dir) |
Returns | |
a vcs backend object |
Parameters | |
klass | Undocumented |
dir | a Dir instance representing the notebook root folder |
Returns | |
a vcs backend object or None |