In unmerge(), flush the vardbapi aux_get() cache to disk before releasing
authorZac Medico <zmedico@gentoo.org>
Sun, 18 May 2008 23:01:28 +0000 (23:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 18 May 2008 23:01:28 +0000 (23:01 -0000)
the vardb lock. (trunk r10361)

svn path=/main/branches/2.1.2/; revision=10363

bin/emerge

index b5589bcef61df7070f58231bc8ca0ba1d5197656..fbc797a334d79843376cb038cdddd7c766bc3d96 100755 (executable)
@@ -6476,6 +6476,7 @@ def unmerge(settings, myopts, vartree, unmerge_action,
                        return 0
        finally:
                if vdb_lock:
+                       vartree.dbapi.flush_cache()
                        portage_locks.unlockdir(vdb_lock)
 
        # Unmerge order only matters in some cases