def create_collection(self, name):
assert self.is_collection<EOL>self._check_write_access()<EOL>collpath = self._getFilePath(name)<EOL>os.mkdir(collpath)<EOL>filepath = self._getFilePath(name, "<STR_LIT>")<EOL>f = open(filepath, "<STR_LIT:w>")<EOL>f.write("<STR_LIT>")<EOL>f.close()<EOL>commands.add(self.provider.ui, self.provider.repo, filepath)<EOL>
Create a new collection as member of self.

        A dummy member is created, because Mercurial doesn't handle folders.