Skip to content
Snippets Groups Projects
Commit d0594f76 authored by Augie Fackler's avatar Augie Fackler
Browse files

init: whitespace cleanup

parent a98e2115
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@
def _local(path):
p = util.drop_scheme('file', path)
if (os.path.exists(os.path.join(p, '.git')) and
if (os.path.exists(os.path.join(p, '.git')) and
not os.path.exists(os.path.join(p, '.hg'))):
return gitrepo
# detect a bare repository
......@@ -37,9 +37,9 @@
not os.path.exists(os.path.join(p, '.hg'))):
return gitrepo
# detect a bare repository
if (os.path.exists(os.path.join(p, 'HEAD')) and
os.path.exists(os.path.join(p, 'objects')) and
os.path.exists(os.path.join(p, 'refs')) and
if (os.path.exists(os.path.join(p, 'HEAD')) and
os.path.exists(os.path.join(p, 'objects')) and
os.path.exists(os.path.join(p, 'refs')) and
not os.path.exists(os.path.join(p, '.hg'))):
return gitrepo
return _oldlocal(path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment