def get_directory_info(self, relativePath):
relativePath = os.path.normpath(relativePath)<EOL>if relativePath in ('<STR_LIT>','<STR_LIT:.>'):<EOL><INDENT>return self, "<STR_LIT>"<EOL><DEDENT>currentDir  = self.__path<EOL>dirInfoDict = self<EOL>for dir in relativePath.split(os.sep):<EOL><INDENT>dirInfoDict = dict.__getitem__(dirInfoDict, "<STR_LIT>")<EOL>currentDir = os.path.join(currentDir, dir)<EOL>if not os.path.exists(currentDir):<EOL><INDENT>return None,  "<STR_LIT>"%currentDir<EOL><DEDENT>val = dirInfoDict.get(dir, None)<EOL>if val is None:<EOL><INDENT>return None,  "<STR_LIT>"%currentDir<EOL><DEDENT>dirInfoDict = val<EOL><DEDENT>return dirInfoDict, "<STR_LIT>"<EOL>
get directory info from the Repository.

:Parameters:
    #. relativePath (string): The relative to the repository path of the directory.

:Returns:
    #. info (None, dictionary): The directory information dictionary.
       If None, it means an error has occurred.
    #. error (string): The error message if any error occurred.