@classmethod
    def write(cls, manifest_name, manifest, committer):
        # muck about with the username
        if '_user_name' in manifest:
            user_list = manifest['_user_name']
            if user_list:
                manifest[USERNAME_KEY] = user_list[0]
            del manifest['_user_name']
        manifest_path = cls.__pathForManifestNamed(manifest_name)
        #try:
        #    prev_manifest = plistlib.readPlist(manifest_path)
        #except Exception:
        #    pass
        try:
            plistlib.writePlist(manifest, manifest_path)
            if GIT:
                git = MunkiGit()
                git.addFileAtPathForCommitter(manifest_path, committer)
        except Exception, errmsg:
            pass
            # need to deal with errors
Retrieves the root file entry.
dataset/ETHPy150Open munki/munkiwebadmin/manifests/models.py/Manifest.write--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/lvm_file_system.py/LVMFileSystem.GetRootFileEntry