summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rwxr-xr-xrepo4
1 files changed, 1 insertions, 3 deletions
diff --git a/repo b/repo
index cf1f78b4..b13e34c6 100755
--- a/repo
+++ b/repo
@@ -966,9 +966,7 @@ def _FindRepo():
966 repo = None 966 repo = None
967 967
968 olddir = None 968 olddir = None
969 while curdir != '/' \ 969 while curdir != olddir and not repo:
970 and curdir != olddir \
971 and not repo:
972 repo = os.path.join(curdir, repodir, REPO_MAIN) 970 repo = os.path.join(curdir, repodir, REPO_MAIN)
973 if not os.path.isfile(repo): 971 if not os.path.isfile(repo):
974 repo = None 972 repo = None