core: Drop "staged" state for objects, refactor pull to split metadata/data

Previously we had the "staged" state to ensure we didn't add a commit
object without the associated dirtree, etc.  However it's
easier/better to just ensure in the pull command that we have all
referenced objects.

Also change pull to download metadata first.  This will allow adding
a progress bar later.
This commit is contained in:
Colin Walters committed 2012-04-02 19:52:22 -04:00
1 parent 56089abd43
commit 9c7a47434d
4 files changed
+148 -325

No files matched your search

+2
View File
@@ -44,6 +44,8 @@ MILESTONE 2
-----------
* Store checksums as ay
* Drop version/metadata from tree/dirmeta objects
* Add index size to superindex, pack size to index
- So pull can calculate how much we need to download
* Split pack files into metadata/data
* Restructure repository so that links can be generated as a cache;
i.e. objects/raw, pack files are now the canonical