This module contains a model that is expected to be used for the codebases used by Transifex. The following definitions are used:
An abstract codebase; a VCS repo, tarball, or some other piece of code.
Return the appropriate VCS browser class.
Keyword arguments: codebase_type – The type of the codebase, used to decide the class to be returned.
>>> print get_browser_class('hg')
vcs.lib.types.hg.HgBrowser
Return the appropriate codebase browser object.
This is a wrapper around get_browser_class which returns a browser object, ready to be initialized.
>>> browser = get_browser_object('hg')
Mar 02, 2010