Add support for newer hook sample naming scheme.
commit023c774904f7e9ad6acba583851b16ab98278bf0
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 12 Oct 2008 08:27:17 +0000 (12 12:27 +0400)
committerAlexander Gavrilov <angavrilov@gmail.com>
Sun, 12 Oct 2008 08:27:17 +0000 (12 12:27 +0400)
treee3477901ead5495f13e2d47ea8d3849549ebb3d1
parentc79648ebd801f80f711305527ef7f93652c1db9c
Add support for newer hook sample naming scheme.

Nowadays hook samples are named 'foo.sample', so in
tests we should check that either the old or the new
one exists, instead of erroring out on a new git.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
gitosis/test/test_repository.py