Work towards making Dulwich less dependent on the filesystem.
authorDave Borowitz <dborowitz@google.com>
Thu, 21 Jan 2010 02:03:44 +0000 (18:03 -0800)
committerDave Borowitz <dborowitz@google.com>
Tue, 9 Feb 2010 17:45:03 +0000 (09:45 -0800)
commitde164d9113e4dc011683482e9510c7ce6ec7354b
treed66db09061d326734d57bdd5638ba2fa1158c5cd
parentd6d8b583fa404b24a404ce17ef87fdcfdd74fafe
Work towards making Dulwich less dependent on the filesystem.

This change is mostly refactoring, and accomplishes the following:
 * Create an abstract base class for Repo that does not need to point
   to a repo on disk.
 * Move some methods in DiskRefsContainer dealing with packs to the
   base class. Packs are such a fundamental tool for optimization in
   git that they should be used by non-disk-backed implementations.
 * Change GitBackend to take in a repo rather than a directory as an
   argument.

Change-Id: Ib2f12855b34c60de48d2b777fbca32f9c2317c8c
bin/dul-daemon
bin/dul-receive-pack
bin/dul-upload-pack
dulwich/object_store.py
dulwich/repo.py
dulwich/server.py