The VCS Utils Module (tendril.utils.vcs)

This module provides utilities to deal with version control systems. For the most part, this module basically proxies specific requests to various other third-party or python libraries.

Presently, only SVN is supported. Support for git may be added in the future.

tendril.utils.vcs.get_path_revision(p)[source]

Get the VCS revision for the file at path p.

Parameters:p – path
Returns:The revision for the repository the file is part of.
tendril.utils.vcs.get_path_repository(p)[source]

Get the VCS repository for the file at path p.

Parameters:p – path
Returns:The URI for the root of the repository the file is part of.