Home | History | Annotate | Download | only in tools

Lines Matching full:root_dir

892         root_dir = project_dir
893 one_up_dir = os.path.dirname(root_dir)
895 root_dir = os.path.dirname(root_dir)
898 prefix = os.path.commonprefix([root_dir, project_dir])
903 root_dir = os.path.dirname(fullname)
904 while (root_dir != os.path.dirname(root_dir) and
905 not os.path.exists(os.path.join(root_dir, ".git")) and
906 not os.path.exists(os.path.join(root_dir, ".hg")) and
907 not os.path.exists(os.path.join(root_dir, ".svn"))):
908 root_dir = os.path.dirname(root_dir)
910 if (os.path.exists(os.path.join(root_dir, ".git")) or
911 os.path.exists(os.path.join(root_dir, ".hg")) or
912 os.path.exists(os.path.join(root_dir, ".svn"))):
913 prefix = os.path.commonprefix([root_dir, project_dir])