Add a MemoryRepo that stores everything in memory.
authorDave Borowitz <dborowitz@google.com>
Thu, 13 May 2010 00:47:46 +0000 (17:47 -0700)
committerDave Borowitz <dborowitz@google.com>
Tue, 1 Jun 2010 22:33:55 +0000 (15:33 -0700)
commitdc302fbcebfdcd7abef3e2a154110904c3fb06be
tree3fc799b9e421dcbffc6cc6a193040c4fb88b327d
parentee1b8b1c0ba98ef9c81353823dafb0ec9fb6cc26
Add a MemoryRepo that stores everything in memory.

This just delegates to a MemoryObjectStore and DictRefsContainer, with a
dict of contents for named files.

As with MemoryObjectStore and DictRefsContainer, this will be useful
primarily for tests.

Change-Id: Ide345a397a0dcde990531bbc4854569ea3274b17
NEWS
dulwich/repo.py
dulwich/tests/test_repository.py