Project.pm: slightly relax does_exist check
commit6ac9ad55e06301b332bc506f6d7faff4a4d433cd
authorKyle J. McKay <mackyle@gmail.com>
Wed, 7 Aug 2013 16:56:10 +0000 (7 09:56 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 7 Aug 2013 16:56:10 +0000 (7 09:56 -0700)
treef23bf7ec95821adc1e1edde7cd1c093d6f0d446c
parent9da0396006564591cd1cfcf8f955f05dd9ca18eb
Project.pm: slightly relax does_exist check

In the case where forks have been kept but the forkee itself has actually
been removed, the valid_name check will fail since it requires the forkee
to still exist.

Unfortunately this also causes the does_exist check to fail on these forks
even though they actually do exist (and load will succeed).

Relax the does_exist check so that if the forkee does not exist it's
enough that the fork directory does exist before actually checking for the
existence of the project itself.
Girocco/Project.pm