Lines Matching full:root_dir
797 root_dir = project_dir
798 one_up_dir = os.path.dirname(root_dir)
800 root_dir = os.path.dirname(root_dir)
803 prefix = os.path.commonprefix([root_dir, project_dir])
808 root_dir = os.path.dirname(fullname)
809 while (root_dir != os.path.dirname(root_dir) and
810 not os.path.exists(os.path.join(root_dir, ".git")) and
811 not os.path.exists(os.path.join(root_dir, ".hg")) and
812 not os.path.exists(os.path.join(root_dir, ".svn"))):
813 root_dir = os.path.dirname(root_dir)
815 if (os.path.exists(os.path.join(root_dir, ".git")) or
816 os.path.exists(os.path.join(root_dir, ".hg")) or
817 os.path.exists(os.path.join(root_dir, ".svn"))):
818 prefix = os.path.commonprefix([root_dir, project_dir])