add "is_available" function to all version control modules
commit53dc0bbf962c2071c2c5b109727e2b105cdad538
authorsumpfralle <sumpfralle@54714841-351b-0410-a198-e36a94b762f5>
Fri, 4 Jul 2008 01:32:54 +0000 (4 01:32 +0000)
committersumpfralle <sumpfralle@54714841-351b-0410-a198-e36a94b762f5>
Fri, 4 Jul 2008 01:32:54 +0000 (4 01:32 +0000)
treea47094cdb15fea3f42e26707e2c79811ec861168
parent6b45cc77fd16c380f203c8d9b6b705929f9b3bfb
add "is_available" function to all version control modules
(this allows separate modules for different versions of an RCS client)

This change should also speed up version control handling in general, since
version control systems that are not installed (-> no local client available)
are ignored after initialization.

git-svn-id: http://translate.svn.sourceforge.net/svnroot/translate/src/trunk/translate@7713 54714841-351b-0410-a198-e36a94b762f5
storage/versioncontrol/__init__.py
storage/versioncontrol/bzr.py
storage/versioncontrol/cvs.py
storage/versioncontrol/darcs.py
storage/versioncontrol/git.py
storage/versioncontrol/hg.py
storage/versioncontrol/svn.py