Monotone backend.
base.VCS implementation for Monotone.
Methods
| add | |
| ancestors | |
| changed | |
| check_storage_version | |
| children | |
| commit | |
| connect | |
| destroy | |
| disconnect | |
| exists | |
| get | |
| get_user_id | |
| init | |
| installed | |
| is_readable | |
| is_writeable | |
| path | |
| recursive_remove | |
| remove | |
| revision_id | |
| root | |
| set | |
| storage_version | |
| version | |
| version_cmp |
Compare the installed Monotone version V_i with another version V_o (given in *args). Returns
1 if V_i > V_o 0 if V_i == V_o -1 if V_i < V_o
Examples
>>> m = Monotone(repo='.')
>>> m._version = '7.1'
>>> m.version_cmp(7, 1)
0
>>> m.version_cmp(7, 2)
-1
>>> m.version_cmp(7, 0)
1
>>> m.version_cmp(8, 0)
-1