Skip to content

Commit 205077e

Browse files
committed
debugging
1 parent 2fe9b3a commit 205077e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dvc/repo/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,13 @@ def __repr__(self):
130130

131131
@classmethod
132132
def find_root(cls, root=None):
133+
logger.info("find_root")
134+
logger.info(root)
133135
if root is None:
134136
root = os.getcwd()
135137
else:
136138
root = os.path.abspath(os.path.realpath(root))
139+
logger.info(root)
137140

138141
while True:
139142
dvc_dir = os.path.join(root, cls.DVC_DIR)
@@ -142,6 +145,7 @@ def find_root(cls, root=None):
142145
if os.path.ismount(root):
143146
break
144147
root = os.path.dirname(root)
148+
logger.info(root)
145149
raise NotDvcRepoError(root)
146150

147151
@classmethod

0 commit comments

Comments
 (0)