Mercurial > hgweb.cgi > hwm
changeset 13:b09caec3d202
Releaxed requirement for a configuration file for a repository to exist. IN: -
author | John Schneiderman <JohnMS@CodeGNU.com> |
---|---|
date | Sat, 26 Jul 2014 14:42:31 -0500 |
parents | 43d7ef8912d3 |
children | 5180b80b0dd1 |
files | src/manager.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/manager.py Sat Jul 26 14:29:48 2014 -0500 +++ b/src/manager.py Sat Jul 26 14:42:31 2014 -0500 @@ -233,9 +233,7 @@ if (repo is None) or (repo.StorageName is None): return False - elif os.path.exists(settings.RepositoryPath + os.sep + repo.StorageName) \ - and os.path.isdir(settings.RepositoryPath + os.sep + repo.StorageName) \ - and os.path.isfile(settings.RepositoryPath + os.sep + repo.StorageName + os.sep + ".hg" + os.sep + "hgrc"): + elif os.path.isdir(settings.RepositoryPath + os.sep + repo.StorageName + os.sep + '.hg'): return True else: return False