'Initialize a MaildirRepository object.  Takes a path name
to the directory holding all the Maildir directories.'

def __init__(self, reposname, account):

    BaseRepository.__init__(self, reposname, account)
    self.root = self.getlocalroot()
    self.folders = None
    self.ui = getglobalui()
    self.debug(('MaildirRepository    initialized,    sep    is    %s' % repr(self.getsep())))
    self.folder_atimes = []
    if (not os.path.isdir(self.root)):
        os.makedirs(self.root, 448)
    self.keyword2char = dict()
    for c in 'abcdefghijklmnopqrstuvwxyz':
        confkey = ('customflag_' + c)
        keyword = self.getconf(confkey, None)
        if (keyword is not None):
            self.keyword2char[keyword] = c
