Create leading directories when creating missing repos in gitosis-serve.
commita2e54704265b58abaa7a6edd0b64548974c69334
authorTommi Virtanen <tv@eagain.net>
Thu, 15 Nov 2007 18:56:15 +0000 (15 20:56 +0200)
committerTommi Virtanen <tv@eagain.net>
Thu, 15 Nov 2007 18:56:15 +0000 (15 20:56 +0200)
treea78c9bc4e54cba195a12805917217ecce1ed3aca
parentea9ee97046301a01a2405e35e1d69adf0a51c90e
Create leading directories when creating missing repos in gitosis-serve.

Creation is in gitosis.serve and not directly in repository.init(),
because that's the location that can tell what part of the directory
tree is allowed to be missing. Made the reconstructed git command
include the extension as that was easier to do.

haveAccess return value is now tuple, to preserve information on what
parts of the path can be missing.
gitosis/access.py
gitosis/repository.py
gitosis/serve.py
gitosis/test/test_access.py
gitosis/test/test_serve.py