Changeset 096d038aa0f4…
Parent e745ba4b0781…
by
Changes to 2 files · Browse files at 096d038aa0f4 Showing diff from parent e745ba4b0781 Diff from another changeset...
@@ -107,7 +107,8 @@ Returns hg.repo
'''
p = paths.find_root(path)
-
+ if not p:
+ return None
try:
return hg.repository(ui.ui(), path=p)
except hglib.RepoError:
|
Loading...