Fix: typos in clone commands were creating empty repos
authorSteve McIntyre <smcintyre@aminocom.com>
Tue, 2 Mar 2010 11:53:15 +0000 (11:53 +0000)
committerSteve McIntyre <smcintyre@aminocom.com>
Tue, 2 Mar 2010 11:53:15 +0000 (11:53 +0000)
commit3dd3b4056ec01bafc478d13cec5c73519c941e08
treee85fa642b844fc498d44e7e0146dec3762858896
parent0f568092a15825799a9e289ec49084049478fed7
Fix: typos in clone commands were creating empty repos

Changes to the logic in serve() made it possible for code flow to fall
through further than initially expected. ONLY attempt to init a new
repo if we are trying to WRITE to a non-existent repo. That way,
trying to read from a non-existent repo will fail as it should.
gitosis/serve.py