jelmer/dulwich-libgit2.git
15 years agoMerge upstream
John Carr [Tue, 30 Dec 2008 13:26:59 +0000 (13:26 +0000)]
Merge upstream

15 years agoTidy up imports
John Carr [Tue, 30 Dec 2008 12:23:32 +0000 (12:23 +0000)]
Tidy up imports

15 years agoSimplify the GitBackend further
John Carr [Tue, 30 Dec 2008 12:15:59 +0000 (12:15 +0000)]
Simplify the GitBackend further

15 years agoDon't need this import anymore
John Carr [Tue, 30 Dec 2008 12:14:29 +0000 (12:14 +0000)]
Don't need this import anymore

15 years agoMissing import
John Carr [Tue, 30 Dec 2008 12:13:55 +0000 (12:13 +0000)]
Missing import

15 years agoAdd clone command.
Jelmer Vernooij [Tue, 30 Dec 2008 12:04:40 +0000 (12:04 +0000)]
Add clone command.

15 years agoAdd more tests.
Jelmer Vernooij [Tue, 30 Dec 2008 12:04:37 +0000 (12:04 +0000)]
Add more tests.

15 years agoMerge upstream
John Carr [Tue, 30 Dec 2008 12:02:51 +0000 (12:02 +0000)]
Merge upstream

15 years agoAdd init subcommand.
Jelmer Vernooij [Tue, 30 Dec 2008 11:50:51 +0000 (11:50 +0000)]
Add init subcommand.

15 years agoAdd some simple tests for ObjectStore.
Jelmer Vernooij [Tue, 30 Dec 2008 11:04:43 +0000 (11:04 +0000)]
Add some simple tests for ObjectStore.

15 years agoSplit out object_store.
Jelmer Vernooij [Tue, 30 Dec 2008 11:00:03 +0000 (11:00 +0000)]
Split out object_store.

15 years agoFix import, remove redundant fetch_objects.
Jelmer Vernooij [Tue, 30 Dec 2008 00:26:45 +0000 (00:26 +0000)]
Fix import, remove redundant fetch_objects.

15 years agomerge john.
Jelmer Vernooij [Tue, 30 Dec 2008 00:26:00 +0000 (00:26 +0000)]
merge john.

15 years agoRemove dead code
John Carr [Tue, 30 Dec 2008 00:02:18 +0000 (00:02 +0000)]
Remove dead code

15 years agoFix git clone
John Carr [Tue, 30 Dec 2008 00:00:35 +0000 (00:00 +0000)]
Fix git clone

15 years agoMerge upstream
John Carr [Mon, 29 Dec 2008 22:36:50 +0000 (22:36 +0000)]
Merge upstream

15 years agoCloser to clone working
John Carr [Mon, 29 Dec 2008 21:03:24 +0000 (21:03 +0000)]
Closer to clone working

15 years agoFix fetch_object use of determine_wants. Fix repo.get_refs() - there might not be...
John Carr [Mon, 29 Dec 2008 19:13:50 +0000 (19:13 +0000)]
Fix fetch_object use of determine_wants. Fix repo.get_refs() - there might not be a HEAD.

15 years agoMerge upstream
John Carr [Mon, 29 Dec 2008 19:02:36 +0000 (19:02 +0000)]
Merge upstream

15 years agoFetch all prerequisite revisions.
Jelmer Vernooij [Mon, 29 Dec 2008 15:57:19 +0000 (15:57 +0000)]
Fetch all prerequisite revisions.

15 years agoSplit up fetch_objects().
Jelmer Vernooij [Sun, 28 Dec 2008 18:29:51 +0000 (18:29 +0000)]
Split up fetch_objects().

15 years agoRaise exception when no git repository is found.
Jelmer Vernooij [Sun, 28 Dec 2008 17:53:43 +0000 (17:53 +0000)]
Raise exception when no git repository is found.

15 years agoAdd simple log command.
Jelmer Vernooij [Sun, 28 Dec 2008 17:34:16 +0000 (17:34 +0000)]
Add simple log command.

15 years agoRename basedir -> controldir.
Jelmer Vernooij [Sat, 27 Dec 2008 02:18:02 +0000 (02:18 +0000)]
Rename basedir -> controldir.

15 years agoMake get_refs() use a dictionary.
Jelmer Vernooij [Sat, 27 Dec 2008 02:09:42 +0000 (02:09 +0000)]
Make get_refs() use a dictionary.

15 years agoAdd get_refs() call.
Jelmer Vernooij [Sat, 27 Dec 2008 02:08:09 +0000 (02:08 +0000)]
Add get_refs() call.

15 years agoAdd git.repo.Repo.__repr__.
Jelmer Vernooij [Sat, 27 Dec 2008 01:54:52 +0000 (01:54 +0000)]
Add git.repo.Repo.__repr__.

15 years agoSkip yielding objects until we've figured out the sha's.
Jelmer Vernooij [Sat, 27 Dec 2008 01:50:19 +0000 (01:50 +0000)]
Skip yielding objects until we've figured out the sha's.

15 years agoFix fetch_objects().
Jelmer Vernooij [Sat, 27 Dec 2008 01:40:40 +0000 (01:40 +0000)]
Fix fetch_objects().

15 years agoMake server upload pack code use fetch objects callbacks.
Jelmer Vernooij [Sat, 27 Dec 2008 01:27:20 +0000 (01:27 +0000)]
Make server upload pack code use fetch objects callbacks.

15 years agoFix test path.
Jelmer Vernooij [Sat, 27 Dec 2008 00:33:58 +0000 (00:33 +0000)]
Fix test path.

15 years agoSimplify pack reading.
Jelmer Vernooij [Fri, 26 Dec 2008 17:50:41 +0000 (17:50 +0000)]
Simplify pack reading.

15 years agoImport client from main package.
Jelmer Vernooij [Fri, 26 Dec 2008 15:44:43 +0000 (15:44 +0000)]
Import client from main package.

15 years agoFix iterentries test.
Jelmer Vernooij [Fri, 26 Dec 2008 13:38:25 +0000 (13:38 +0000)]
Fix iterentries test.

15 years agoinstall scripts.
Jelmer Vernooij [Thu, 25 Dec 2008 22:05:48 +0000 (22:05 +0000)]
install scripts.

15 years agoMerge dumppack and fetch-pack into a single binary.
Jelmer Vernooij [Thu, 25 Dec 2008 22:02:51 +0000 (22:02 +0000)]
Merge dumppack and fetch-pack into a single binary.

15 years agoUse uppercase for constants.
Jelmer Vernooij [Thu, 25 Dec 2008 21:42:49 +0000 (21:42 +0000)]
Use uppercase for constants.

15 years agoMerge upstream
John Carr [Thu, 25 Dec 2008 19:15:28 +0000 (19:15 +0000)]
Merge upstream

15 years agoDon't 'want' refs we already have.
Jelmer Vernooij [Thu, 25 Dec 2008 16:27:59 +0000 (16:27 +0000)]
Don't 'want' refs we already have.

15 years agoFix ext resolving for PackData.iterentries().
Jelmer Vernooij [Thu, 25 Dec 2008 16:23:33 +0000 (16:23 +0000)]
Fix ext resolving for PackData.iterentries().

15 years agoFix argument handling in dul-fetch-pack.
Jelmer Vernooij [Thu, 25 Dec 2008 16:19:48 +0000 (16:19 +0000)]
Fix argument handling in dul-fetch-pack.

15 years agoFix typos.
Jelmer Vernooij [Thu, 25 Dec 2008 16:17:00 +0000 (16:17 +0000)]
Fix typos.

15 years agoResolve deltas using other packs.
Jelmer Vernooij [Thu, 25 Dec 2008 16:09:16 +0000 (16:09 +0000)]
Resolve deltas using other packs.

15 years agouse separate store for packs.
Jelmer Vernooij [Thu, 25 Dec 2008 15:31:00 +0000 (15:31 +0000)]
use separate store for packs.

15 years agoPushing for clients
John Carr [Thu, 25 Dec 2008 14:56:34 +0000 (14:56 +0000)]
Pushing for clients

15 years agoShare the code to work out which objects to send
John Carr [Thu, 25 Dec 2008 14:38:28 +0000 (14:38 +0000)]
Share the code to work out which objects to send

15 years agoMerge John.
Jelmer Vernooij [Thu, 25 Dec 2008 13:50:59 +0000 (13:50 +0000)]
Merge John.

15 years agoFix pack generation
John Carr [Thu, 25 Dec 2008 13:42:57 +0000 (13:42 +0000)]
Fix pack generation

15 years agoUpdate to latest dulwich API
John Carr [Thu, 25 Dec 2008 13:21:50 +0000 (13:21 +0000)]
Update to latest dulwich API

15 years agoWe can only read pack files of the form 'pack-%s.pack', so save them in that form
John Carr [Thu, 25 Dec 2008 13:18:54 +0000 (13:18 +0000)]
We can only read pack files of the form 'pack-%s.pack', so save them in that form

15 years agowrite_pack_data expects a file object, not a callback. Add a ProtocolFile object...
John Carr [Thu, 25 Dec 2008 13:12:00 +0000 (13:12 +0000)]
write_pack_data expects a file object, not a callback. Add a ProtocolFile object to satisfy its desires for now.

15 years agoFix typos
John Carr [Thu, 25 Dec 2008 07:44:19 +0000 (07:44 +0000)]
Fix typos

15 years agoIf no capabilities, still return a tuple or we get unpacking fail
John Carr [Thu, 25 Dec 2008 07:44:12 +0000 (07:44 +0000)]
If no capabilities, still return a tuple or we get unpacking fail

15 years agoRename mixin so nosetests leaves it alone
John Carr [Thu, 25 Dec 2008 07:29:10 +0000 (07:29 +0000)]
Rename mixin so nosetests leaves it alone

15 years agoOnly TCPGitClient cares about host
John Carr [Thu, 25 Dec 2008 07:11:20 +0000 (07:11 +0000)]
Only TCPGitClient cares about host

15 years agoMerge upstream
John Carr [Thu, 25 Dec 2008 06:54:39 +0000 (06:54 +0000)]
Merge upstream

15 years agoFix imports, fix pack fetching when there are no changes.
Jelmer Vernooij [Thu, 25 Dec 2008 00:54:56 +0000 (00:54 +0000)]
Fix imports, fix pack fetching when there are no changes.

15 years agoMake dul-daemon start once more :)
John Carr [Wed, 24 Dec 2008 23:51:08 +0000 (23:51 +0000)]
Make dul-daemon start once more :)

15 years agoMove the git:// specific bits to TCPGitClient
John Carr [Wed, 24 Dec 2008 23:35:48 +0000 (23:35 +0000)]
Move the git:// specific bits to TCPGitClient

15 years agoMove send/read cmd out of way - not convinced protocol.py is the right place, but...
John Carr [Wed, 24 Dec 2008 23:31:57 +0000 (23:31 +0000)]
Move send/read cmd out of way - not convinced protocol.py is the right place, but certainly don't want them in the code that doesnt need them

15 years agoMove send_cmd and read_cmd out of the protocol.
John Carr [Wed, 24 Dec 2008 23:29:03 +0000 (23:29 +0000)]
Move send_cmd and read_cmd out of the protocol.

15 years agoDon't need to descend from Handler really. Just use protocol directly
John Carr [Wed, 24 Dec 2008 23:17:30 +0000 (23:17 +0000)]
Don't need to descend from Handler really. Just use protocol directly

15 years agoMerge upstream
John Carr [Wed, 24 Dec 2008 23:13:57 +0000 (23:13 +0000)]
Merge upstream

15 years agoShare capabilities extractor, port number.
Jelmer Vernooij [Wed, 24 Dec 2008 22:58:16 +0000 (22:58 +0000)]
Share capabilities extractor, port number.

15 years agoShare port constant.
Jelmer Vernooij [Wed, 24 Dec 2008 22:51:55 +0000 (22:51 +0000)]
Share port constant.

15 years agoMerge John.
Jelmer Vernooij [Wed, 24 Dec 2008 22:50:25 +0000 (22:50 +0000)]
Merge John.

15 years agoMissed one
John Carr [Wed, 24 Dec 2008 22:48:53 +0000 (22:48 +0000)]
Missed one

15 years agoFactor out common code
John Carr [Wed, 24 Dec 2008 22:47:35 +0000 (22:47 +0000)]
Factor out common code

15 years agoFix crc32 overflow error in struct, raise KeyError if referenced objects can't be...
Jelmer Vernooij [Wed, 24 Dec 2008 22:47:00 +0000 (22:47 +0000)]
Fix crc32 overflow error in struct, raise KeyError if referenced objects can't be found rather than looping forever.

15 years agoTidy up
John Carr [Wed, 24 Dec 2008 22:43:28 +0000 (22:43 +0000)]
Tidy up

15 years agoUse common, shared, code
John Carr [Wed, 24 Dec 2008 22:42:23 +0000 (22:42 +0000)]
Use common, shared, code

15 years agoShare some code between client and server
John Carr [Wed, 24 Dec 2008 22:37:45 +0000 (22:37 +0000)]
Share some code between client and server

15 years agoMerge upstream
John Carr [Wed, 24 Dec 2008 22:17:26 +0000 (22:17 +0000)]
Merge upstream

15 years agoDon't retrieve all pack files when fetching.
Jelmer Vernooij [Wed, 24 Dec 2008 22:08:18 +0000 (22:08 +0000)]
Don't retrieve all pack files when fetching.

15 years agoMore typo. I suck at refactoring :(
John Carr [Wed, 24 Dec 2008 22:05:36 +0000 (22:05 +0000)]
More typo. I suck at refactoring :(

15 years agoMore typo :(
John Carr [Wed, 24 Dec 2008 22:04:06 +0000 (22:04 +0000)]
More typo :(

15 years agoTypo?
John Carr [Wed, 24 Dec 2008 22:03:28 +0000 (22:03 +0000)]
Typo?

15 years agoAbstract away magic in moving pack files into place.
Jelmer Vernooij [Wed, 24 Dec 2008 21:00:27 +0000 (21:00 +0000)]
Abstract away magic in moving pack files into place.

15 years agodul-upload-pack and dul-receive-pack
John Carr [Wed, 24 Dec 2008 20:43:49 +0000 (20:43 +0000)]
dul-upload-pack and dul-receive-pack

15 years agoSort entries before writing index file.
Jelmer Vernooij [Wed, 24 Dec 2008 20:27:49 +0000 (20:27 +0000)]
Sort entries before writing index file.

15 years agoBrain dump protocol details
John Carr [Wed, 24 Dec 2008 20:25:23 +0000 (20:25 +0000)]
Brain dump protocol details

15 years agoPrint object names sha1 in dumppack.
Jelmer Vernooij [Wed, 24 Dec 2008 20:23:20 +0000 (20:23 +0000)]
Print object names sha1 in dumppack.

15 years agoAdd simple function for returning SHA1 over all objects in a pack (used for filename).
Jelmer Vernooij [Wed, 24 Dec 2008 20:20:52 +0000 (20:20 +0000)]
Add simple function for returning SHA1 over all objects in a pack (used for filename).

15 years agoRefactor pack writing
John Carr [Wed, 24 Dec 2008 20:15:07 +0000 (20:15 +0000)]
Refactor pack writing

15 years agoMerge upstream
John Carr [Wed, 24 Dec 2008 20:14:27 +0000 (20:14 +0000)]
Merge upstream

15 years agoAdd simple add_pack() command that will return a file object for a temporary pack...
Jelmer Vernooij [Wed, 24 Dec 2008 19:46:55 +0000 (19:46 +0000)]
Add simple add_pack() command that will return a file object for a temporary pack filename.

15 years agoAdd simple dul-fetch-pack command.
Jelmer Vernooij [Wed, 24 Dec 2008 19:44:53 +0000 (19:44 +0000)]
Add simple dul-fetch-pack command.

15 years agoUse standard pack write functions in daemon.
Jelmer Vernooij [Wed, 24 Dec 2008 15:55:48 +0000 (15:55 +0000)]
Use standard pack write functions in daemon.

15 years agoPass fileobject rather than filename to write_pack_data().
Jelmer Vernooij [Wed, 24 Dec 2008 15:49:29 +0000 (15:49 +0000)]
Pass fileobject rather than filename to write_pack_data().

15 years agoMerge John.
Jelmer Vernooij [Wed, 24 Dec 2008 04:13:03 +0000 (04:13 +0000)]
Merge John.

15 years agoRename Repo.get_tree() -> Repo.tree() for consistency with git-python.
Jelmer Vernooij [Wed, 24 Dec 2008 02:30:06 +0000 (02:30 +0000)]
Rename Repo.get_tree() -> Repo.tree() for consistency with git-python.

15 years agomake .id available for all sha_files.
Jelmer Vernooij [Wed, 24 Dec 2008 02:07:01 +0000 (02:07 +0000)]
make .id available for all sha_files.

15 years agoBlob.text() -> Blob.data
Jelmer Vernooij [Wed, 24 Dec 2008 02:06:03 +0000 (02:06 +0000)]
Blob.text() -> Blob.data

15 years agoOpen packs more lazily.
Jelmer Vernooij [Wed, 24 Dec 2008 01:46:51 +0000 (01:46 +0000)]
Open packs more lazily.

15 years agoTurn more bits into properties.
Jelmer Vernooij [Wed, 24 Dec 2008 01:26:20 +0000 (01:26 +0000)]
Turn more bits into properties.

15 years agoFix parsing pack objects.
Jelmer Vernooij [Wed, 24 Dec 2008 01:19:51 +0000 (01:19 +0000)]
Fix parsing pack objects.

15 years agoRemove unused _contents member.
Jelmer Vernooij [Wed, 24 Dec 2008 01:17:31 +0000 (01:17 +0000)]
Remove unused _contents member.

15 years agoDon't need these imports
John Carr [Tue, 23 Dec 2008 09:42:57 +0000 (09:42 +0000)]
Don't need these imports

15 years agoMissing imports
John Carr [Tue, 23 Dec 2008 09:42:26 +0000 (09:42 +0000)]
Missing imports

15 years agoTurn Commit.parents into a property, for compatibility with python-git.
Jelmer Vernooij [Mon, 22 Dec 2008 20:27:50 +0000 (20:27 +0000)]
Turn Commit.parents into a property, for compatibility with python-git.