jelmer/dulwich-libgit2.git
14 years agoDefine common TestSkipped exception so it's easier to swap out later for
Jelmer Vernooij [Mon, 5 Apr 2010 19:52:49 +0000 (21:52 +0200)]
Define common TestSkipped exception so it's easier to swap out later for
something nose-specific.

14 years agoChange parse_tree to return a list rather than a dict.
Dave Borowitz [Mon, 5 Apr 2010 19:48:27 +0000 (21:48 +0200)]
Change parse_tree to return a list rather than a dict.

For future consistency checks, we will need to ensure that objects in
the tree are stored in sorted order when we parse the tree, so it makes
sense to be able to reuse parse_tree for this purpose.

Also added tests for both the C and Python versions of parse_tree. To
do this in one test run, we also need to hold onto the pure-python
implementation before importing the C version if available.

14 years agocgi.parse_qs is deprecated in favor of urlparse.parse_qs in python 2.6,
Dave Borowitz [Mon, 5 Apr 2010 19:37:17 +0000 (21:37 +0200)]
cgi.parse_qs is deprecated in favor of urlparse.parse_qs in python 2.6,
but the function in urlparse doesn't exist in earlier versions.

14 years agoFix imports.
Jelmer Vernooij [Mon, 5 Apr 2010 19:29:02 +0000 (21:29 +0200)]
Fix imports.

14 years agoMerge Dave's fixes for the compatibility tests and web.
Jelmer Vernooij [Sat, 3 Apr 2010 18:26:51 +0000 (20:26 +0200)]
Merge Dave's fixes for the compatibility tests and web.

14 years agoUpdate servers and compat tests to work with DictBackends.
Dave Borowitz [Sat, 3 Apr 2010 18:18:12 +0000 (20:18 +0200)]
Update servers and compat tests to work with DictBackends.

14 years agoAvoid seek when loading pack index files.
Jelmer Vernooij [Sat, 3 Apr 2010 16:37:50 +0000 (18:37 +0200)]
Avoid seek when loading pack index files.

14 years agoSimplify apply_pack call.
Jelmer Vernooij [Sat, 3 Apr 2010 16:25:04 +0000 (18:25 +0200)]
Simplify apply_pack call.

14 years agoRemove GitBackendRepo, use plain Repo's instead.
Jelmer Vernooij [Sat, 3 Apr 2010 15:49:44 +0000 (17:49 +0200)]
Remove GitBackendRepo, use plain Repo's instead.

14 years agoMove apply_pack to ReceivePackHandler, so a server backend repo is a strict subset...
Jelmer Vernooij [Sat, 3 Apr 2010 15:43:39 +0000 (17:43 +0200)]
Move apply_pack to ReceivePackHandler, so a server backend repo is a strict subset of Repo.

14 years agoUse property to access commit parents.
Jelmer Vernooij [Sat, 3 Apr 2010 15:39:50 +0000 (17:39 +0200)]
Use property to access commit parents.

14 years agoFix dul-daemon.
Jelmer Vernooij [Sat, 3 Apr 2010 01:36:31 +0000 (03:36 +0200)]
Fix dul-daemon.

14 years agoIf git is available on the local machine, always run the compatibility tests so I...
Jelmer Vernooij [Sat, 3 Apr 2010 00:43:57 +0000 (02:43 +0200)]
If git is available on the local machine, always run the compatibility tests so I don't break stuff again.

14 years agoFix use of git backend.
Jelmer Vernooij [Fri, 2 Apr 2010 23:58:56 +0000 (01:58 +0200)]
Fix use of git backend.

14 years agoSome trivial formatting fixes.
Jelmer Vernooij [Fri, 2 Apr 2010 23:46:59 +0000 (01:46 +0200)]
Some trivial formatting fixes.

14 years agomerge support for custom get_peeled function in server.
Jelmer Vernooij [Fri, 2 Apr 2010 19:30:13 +0000 (21:30 +0200)]
merge support for custom get_peeled function in server.

14 years agoimplement chunked version of ShaFile.as_legacy_object.
Jelmer Vernooij [Fri, 2 Apr 2010 14:07:33 +0000 (16:07 +0200)]
implement chunked version of ShaFile.as_legacy_object.

14 years agoUse open_repository to find repository for get_peeled.
Jelmer Vernooij [Fri, 2 Apr 2010 02:45:54 +0000 (04:45 +0200)]
Use open_repository to find repository for get_peeled.

14 years agoSupport progress argument to generate_pack_contents.
Jelmer Vernooij [Fri, 2 Apr 2010 02:15:07 +0000 (04:15 +0200)]
Support progress argument to generate_pack_contents.

14 years agoAdd RefsContainer.read_ref.
Jelmer Vernooij [Fri, 2 Apr 2010 01:57:11 +0000 (03:57 +0200)]
Add RefsContainer.read_ref.

14 years agoSupport opening git repositories by path.
Jelmer Vernooij [Fri, 2 Apr 2010 01:21:35 +0000 (03:21 +0200)]
Support opening git repositories by path.

14 years agoAlways require a Git repository object to be passed into
Jelmer Vernooij [Fri, 2 Apr 2010 00:55:38 +0000 (02:55 +0200)]
Always require a Git repository object to be passed into
dulwich.server.GitBackend.

14 years agoPreviously, the word "type" was massively overloaded in objects.py. It
Dave Borowitz [Fri, 2 Apr 2010 00:11:34 +0000 (02:11 +0200)]
Previously, the word "type" was massively overloaded in objects.py. It
could refer to the numeric type of an object (obj.type or
obj._num_type), the type name of the object (obj._type or FOO_ID), or
the actual class (python type) of the object. This could get quite
confusing.

This change does the following:
 -Replace obj._type and obj._num_type with type_name and type_num. (The
  type property is retained for client compatibility, but is marked as
  deprecated.) Change the various type maps and callers to use the
  object's public members as keys.
 -Add a convenience function object_class that takes either a string or
  an int and dispatches to the appropriate type map.
 -Rename the FOO_ID constants as _FOO_HEADER, since those constants
  were previously overloaded to mean both header field names and type
  names. There is some overlap, but this is intentional.
 -Use isinstance for type comparisons rather than type, which is common
  python practice and avoids the problematic word altogether.

14 years agoPreviously, serialize() expected the object type to be numeric, and
Dave Borowitz [Thu, 1 Apr 2010 23:58:27 +0000 (01:58 +0200)]
Previously, serialize() expected the object type to be numeric, and
_parse_text() set it to be an object class. Surprisingly, there were
no code paths that perform a round-trip parse-serialize-parse or
serialize-parse-serialize on tags; put a TODO in test_objects.py to add
such tests.

14 years agoPass command-line arguments on to command implementation.
Jelmer Vernooij [Thu, 1 Apr 2010 23:41:04 +0000 (01:41 +0200)]
Pass command-line arguments on to command implementation.

14 years agoFix import.
Jelmer Vernooij [Thu, 1 Apr 2010 23:33:32 +0000 (01:33 +0200)]
Fix import.

14 years agoUse posixpath where possible.
Jelmer Vernooij [Thu, 1 Apr 2010 17:07:25 +0000 (19:07 +0200)]
Use posixpath where possible.

14 years agoUse standard buffer size rather than object size.
Jelmer Vernooij [Thu, 1 Apr 2010 16:58:09 +0000 (18:58 +0200)]
Use standard buffer size rather than object size.

14 years agoAllow delta's to be chunked as well.
Jelmer Vernooij [Wed, 31 Mar 2010 21:05:52 +0000 (23:05 +0200)]
Allow delta's to be chunked as well.

14 years agoAccept chunked contents for apply_delta base texts.
Jelmer Vernooij [Wed, 31 Mar 2010 19:45:10 +0000 (21:45 +0200)]
Accept chunked contents for apply_delta base texts.

14 years agoconsistently use chunks internally inside of the pack code.
Jelmer Vernooij [Wed, 31 Mar 2010 19:34:40 +0000 (21:34 +0200)]
consistently use chunks internally inside of the pack code.

14 years agoReturn chunks from apply_delta.
Jelmer Vernooij [Wed, 31 Mar 2010 19:21:45 +0000 (21:21 +0200)]
Return chunks from apply_delta.

14 years agoReturn chunks from unpack_object.
Jelmer Vernooij [Wed, 31 Mar 2010 19:14:41 +0000 (21:14 +0200)]
Return chunks from unpack_object.

14 years agoRemove read_zlib in favor of read_zlib_chunks.
Jelmer Vernooij [Wed, 31 Mar 2010 19:09:24 +0000 (21:09 +0200)]
Remove read_zlib in favor of read_zlib_chunks.

14 years agoWork with chunks internally in dulwich.objects.
Jelmer Vernooij [Wed, 31 Mar 2010 18:27:58 +0000 (20:27 +0200)]
Work with chunks internally in dulwich.objects.

14 years agoRename _parse_text to _deserialize for consistency.
Jelmer Vernooij [Wed, 31 Mar 2010 18:16:35 +0000 (20:16 +0200)]
Rename _parse_text to _deserialize for consistency.

14 years agoSet needs_serialization/needs_parsing properties only in a few places.
Jelmer Vernooij [Wed, 31 Mar 2010 18:15:42 +0000 (20:15 +0200)]
Set needs_serialization/needs_parsing properties only in a few places.

14 years agoUse raw_length in pack generation.
Jelmer Vernooij [Wed, 31 Mar 2010 18:11:03 +0000 (20:11 +0200)]
Use raw_length in pack generation.

14 years agoWork with chunks rather than StringIO internally when possible.
Jelmer Vernooij [Wed, 31 Mar 2010 18:06:40 +0000 (20:06 +0200)]
Work with chunks rather than StringIO internally when possible.

14 years agoMake ShaFile.serialize private (it's pointless to call for external users).
Jelmer Vernooij [Wed, 31 Mar 2010 18:00:54 +0000 (20:00 +0200)]
Make ShaFile.serialize private (it's pointless to call for external users).

14 years agoProvide C implementation of tree item sorter.
Jelmer Vernooij [Wed, 31 Mar 2010 15:44:14 +0000 (17:44 +0200)]
Provide C implementation of tree item sorter.

14 years agoSupport determining blob id without joining all chunks first.
Jelmer Vernooij [Wed, 31 Mar 2010 14:09:00 +0000 (16:09 +0200)]
Support determining blob id without joining all chunks first.

14 years agoAllow accessing Blob contents as chunks.
Jelmer Vernooij [Wed, 31 Mar 2010 13:58:32 +0000 (15:58 +0200)]
Allow accessing Blob contents as chunks.

14 years agoUse urlparse.parse_qs rather than deprecated cgi.parse_qs.
Jelmer Vernooij [Wed, 31 Mar 2010 13:33:44 +0000 (15:33 +0200)]
Use urlparse.parse_qs rather than deprecated cgi.parse_qs.

14 years agoIgnore deprecationwarnings from known deprecated methods during testsuite run.
Jelmer Vernooij [Wed, 31 Mar 2010 13:32:59 +0000 (15:32 +0200)]
Ignore deprecationwarnings from known deprecated methods during testsuite run.

14 years agoFix warning stacklevels.
Jelmer Vernooij [Wed, 31 Mar 2010 13:26:27 +0000 (15:26 +0200)]
Fix warning stacklevels.

14 years agoAdd ShaFile._raw_length.
Jelmer Vernooij [Wed, 31 Mar 2010 13:24:43 +0000 (15:24 +0200)]
Add ShaFile._raw_length.

14 years agoRepo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
Jelmer Vernooij [Mon, 29 Mar 2010 11:01:49 +0000 (13:01 +0200)]
Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.

14 years agotest_repository: add test for ObjectStore.find_common_revisions()
Tay Ray Chuan [Mon, 22 Mar 2010 03:54:34 +0000 (11:54 +0800)]
test_repository: add test for ObjectStore.find_common_revisions()

Demonstrate that find_common_revisions() returns common heads, not
revisions.

14 years agoMark current version as 0.5.1.
Jelmer Vernooij [Sat, 27 Mar 2010 16:23:06 +0000 (17:23 +0100)]
Mark current version as 0.5.1.

14 years agoImplement RefsContainer.__contains__.
Jelmer Vernooij [Sat, 27 Mar 2010 16:21:50 +0000 (17:21 +0100)]
Implement RefsContainer.__contains__.

14 years agoImprove formatting, update docstring.
Jelmer Vernooij [Sat, 27 Mar 2010 13:16:07 +0000 (14:16 +0100)]
Improve formatting, update docstring.

14 years agoAdd Repo.stage.
Jelmer Vernooij [Wed, 24 Mar 2010 11:10:25 +0000 (12:10 +0100)]
Add Repo.stage.

14 years agoMove get_transport_and_path to dulwich.client.
Jelmer Vernooij [Wed, 24 Mar 2010 10:27:04 +0000 (11:27 +0100)]
Move get_transport_and_path to dulwich.client.

14 years agoAdd docstrings.
Jelmer Vernooij [Wed, 24 Mar 2010 10:20:31 +0000 (11:20 +0100)]
Add docstrings.

14 years agoImprove docstrings.
Jelmer Vernooij [Tue, 23 Mar 2010 14:18:14 +0000 (15:18 +0100)]
Improve docstrings.

14 years agoIn threaded programs, more than one thread can try to add the same object at
Bruce Duncan [Tue, 23 Mar 2010 11:37:55 +0000 (12:37 +0100)]
In threaded programs, more than one thread can try to add the same object at
the same time and this can cause os.mkdir to fail.

14 years agoUse syntax understood by git am.
Jelmer Vernooij [Sun, 14 Mar 2010 19:04:33 +0000 (20:04 +0100)]
Use syntax understood by git am.

14 years agoMake sure mode is initialized.
Jelmer Vernooij [Fri, 12 Mar 2010 16:36:47 +0000 (17:36 +0100)]
Make sure mode is initialized.

14 years agoFix trailing newlines in generated patch files.
Jelmer Vernooij [Fri, 12 Mar 2010 16:35:03 +0000 (17:35 +0100)]
Fix trailing newlines in generated patch files.

14 years agoThe 'committer' and 'message' arguments to Repo.do_commit() have
Jelmer Vernooij [Thu, 11 Mar 2010 14:00:12 +0000 (15:00 +0100)]
The 'committer' and 'message' arguments to Repo.do_commit() have
been swapped. 'committer' is now optional. (Jelmer Vernooij)

Add some TODO items.

14 years agoAdd Index.commit.
Jelmer Vernooij [Thu, 11 Mar 2010 13:55:12 +0000 (14:55 +0100)]
Add Index.commit.

14 years agoAllow specifying path to 'dulwich log'.
Jelmer Vernooij [Thu, 11 Mar 2010 17:13:36 +0000 (18:13 +0100)]
Allow specifying path to 'dulwich log'.

14 years agoSimplify clone code.
Jelmer Vernooij [Thu, 11 Mar 2010 17:09:56 +0000 (18:09 +0100)]
Simplify clone code.

14 years agoFix Repository.__setitem__.
Jelmer Vernooij [Tue, 9 Mar 2010 13:15:31 +0000 (14:15 +0100)]
Fix Repository.__setitem__.

14 years agoFix indentation.
Jelmer Vernooij [Tue, 9 Mar 2010 13:14:17 +0000 (14:14 +0100)]
Fix indentation.

14 years agoadd testrepository magic.
Jelmer Vernooij [Tue, 9 Mar 2010 01:14:48 +0000 (02:14 +0100)]
add testrepository magic.

14 years agoAdd Dave to authors.
Jelmer Vernooij [Sun, 7 Mar 2010 16:51:12 +0000 (17:51 +0100)]
Add Dave to authors.

14 years agoRemove unused imports, limit import of nose to one file (so it's easier to
Jelmer Vernooij [Sun, 7 Mar 2010 16:44:26 +0000 (17:44 +0100)]
Remove unused imports, limit import of nose to one file (so it's easier to
replace the SkipTest class with e.g. the one from testtools).

14 years agoMerge Dave.
Jelmer Vernooij [Sun, 7 Mar 2010 16:40:58 +0000 (17:40 +0100)]
Merge Dave.

14 years agoRemove some unused imports.
Jelmer Vernooij [Sat, 6 Mar 2010 00:01:11 +0000 (01:01 +0100)]
Remove some unused imports.

14 years agoMerge support for no-progress capability, some PEP8 fixes and removal of unused imports.
Jelmer Vernooij [Fri, 5 Mar 2010 23:59:30 +0000 (00:59 +0100)]
Merge support for no-progress capability, some PEP8 fixes and removal of unused imports.

14 years agoMerge server capability refactoring from Dave.
Jelmer Vernooij [Fri, 5 Mar 2010 23:43:20 +0000 (00:43 +0100)]
Merge server capability refactoring from Dave.

14 years agoAdd include-tag capability to server.
Dave Borowitz [Mon, 22 Feb 2010 18:26:02 +0000 (10:26 -0800)]
Add include-tag capability to server.

For this, we need to pass an include_tag flag as well as a dict of
shas that we kno have tags pointing to them all the way down to
MissingObjectFinder.

Added unit test to server.py, but still missing MissingObjectFinder
tests.

Change-Id: Ifd5e623c712842d0eb5133fb5fb78ab2c8c6970f

14 years agoAdd no-progress capability support to UploadPackHandler.
Dave Borowitz [Fri, 19 Feb 2010 23:20:10 +0000 (15:20 -0800)]
Add no-progress capability support to UploadPackHandler.

The progress function is now a method rather than a lambda, since it
needs to check the handler's state in order to decide whether to
write. Since progress is called many times, also changed
_client_capabilities to be a set. Added simple tests for the progress
method.

Change-Id: Id6b48272af0da10ae6c99512ec1706c0d0309455

14 years agoRefactor server capability code into base Handler.
Dave Borowitz [Fri, 19 Feb 2010 21:33:38 +0000 (13:33 -0800)]
Refactor server capability code into base Handler.

UploadPackHandler and ReceivePackHandler now both handle client
capabilities using a consistent interface, the set_client_capabilites
and has_capability functions. Both now error as soon as an unknown
capability is requested by the client.

Also renames the following methods:
  capabilities -> capability_line
  default_capabilities -> capabilities
This is because capability_line is the less general of the two
methods, as it is only useful when advertising capabilities to the
client.

Changed capabilities tests to use the base class and test new
functionality.

Change-Id: If7d3feeac27834119d6d4e4021569401e5444d51

14 years agoRemove unnecessary TODO in server.py.
Dave Borowitz [Sat, 20 Feb 2010 01:35:38 +0000 (17:35 -0800)]
Remove unnecessary TODO in server.py.

Refnames are checked by RefsContainer.__getitem__, which raises
KeyError if they are invalid, so we don't need to check within
apply_pack.

Change-Id: I3decc98341b7df092e7e4dfd72c1f2f3b6633992

14 years agoExtract all-zero SHA as a constant in protocol.py
Dave Borowitz [Sat, 20 Feb 2010 00:19:47 +0000 (16:19 -0800)]
Extract all-zero SHA as a constant in protocol.py

Change-Id: Ie8305773ba034ae9c35c6503573fe56de5c24064

14 years agoFix ReceivePackHandler to disallow deleting refs without delete-refs.
Dave Borowitz [Sat, 20 Feb 2010 00:13:45 +0000 (16:13 -0800)]
Fix ReceivePackHandler to disallow deleting refs without delete-refs.

Change-Id: I832c137f110f8e4b50f067f66e21333492871988

14 years agoAllow server handlers to specify capabilities required by clients.
Dave Borowitz [Fri, 19 Feb 2010 23:50:08 +0000 (15:50 -0800)]
Allow server handlers to specify capabilities required by clients.

Ideally, the server should be able to handle the absence (as well as
presence) of any capabilities it advertises. However, currently, the
server does not know how to *not* support some capabilities, such
as side-band-64k and delete-refs, which makes it incompatible with
clients that do not request these capabilities. This change adds a
set of "required" capabilites to the server handlers, and causes the
server to fail fast if the client does not request them.

Capabilities should be removed from the required capabilities lists as
their inverses are implemented.

Note that the protocol capabilities spec[1] makes no requirements
about servers supporting the inverse of capabilities.

[1] http://repo.or.cz/w/git.git/blob/HEAD:/Documentation/technical/protocol-capabilities.txt

Change-Id: I6ad2dc3dba67b78b2e195ec0b77eace09a36b0f5

14 years agoRefactor server capability code into base Handler.
Dave Borowitz [Fri, 19 Feb 2010 21:33:38 +0000 (13:33 -0800)]
Refactor server capability code into base Handler.

UploadPackHandler and ReceivePackHandler now both handle client
capabilities using a consistent interface, the set_client_capabilites
and has_capability functions. Both now error as soon as an unknown
capability is requested by the client.

Also renames the following methods:
  capabilities -> capability_line
  default_capabilities -> capabilities
This is because capability_line is the less general of the two
methods, as it is only useful when advertising capabilities to the
client.

Changed capabilities tests to use the base class and test new
functionality.

Change-Id: If7d3feeac27834119d6d4e4021569401e5444d51

14 years agoAdd get_peeled to BaseRepo so HTTP and git servers use one call to peel tags.
Dave Borowitz [Mon, 1 Mar 2010 17:48:41 +0000 (09:48 -0800)]
Add get_peeled to BaseRepo so HTTP and git servers use one call to peel tags.

This method needs to go in BaseRepo rather than ObjectStore so it can take
advantage of the cached peeled values in the packed-refs file, which belongs
to the RefsContainer. To this end, added a similar get_peeled method to
RefsContainer that accesses the peeled ref cache. Unlike BaseRepo.get_peeled,
RefsContainer.get_peeled returns None if peeled ref information is not cached
(since it does not have access to an ObjectStore to do the peeling itself).

Modified the TCP git server and dumb HTTP server to advertise peeled refs
consistently and correctly. Added tests for all new functionality.

Change-Id: I214ffee1a3459a746a7e34a1d04c0f527c5c8347

14 years agoAdd cgit compatibility testing framework.
Dave Borowitz [Fri, 12 Feb 2010 00:01:33 +0000 (16:01 -0800)]
Add cgit compatibility testing framework.

This adds a suite of tests that require git-core to be installed and can be run
with "make check-compat". These tests can run cgit via subprocess and capture
the results. This is primarily used to test the git and HTTP protocol servers
against their cgit counterparts, but other tests are possible as well. Also
included a test that packs written by dulwich are verified by git verify-pack.

The servers are tested by running the server in a separate thread and spawning a
git process that talks to them, then ensuring that the correct operations were
applied to each repo.

Also fixed/added in the course of testing:
-Fixed a bad merge in server.py
-Fixed some global namespace bugs in web.py
-Refresh the object store pack cache if the pack directory is modified.
-Added a 'dumb' flag to HTTPGitApplication so the HTTP server can be run in
dumb-only mode. This allows testing the dumb server against a smart cgit client
(which has no option to turn off smart HTTP).

There are still several outstanding bugs that cause tests to fail. The relevant
tests are currently skipped and marked with TODO.

Change-Id: I2b4fd0af6e59d03815ca663268441e5696883763

14 years agorelease 0.5.0. dulwich-0.5.0
Jelmer Vernooij [Wed, 3 Mar 2010 15:33:05 +0000 (16:33 +0100)]
release 0.5.0.

14 years agoUse ConfigParser for now
Jelmer Vernooij [Wed, 3 Mar 2010 01:30:39 +0000 (02:30 +0100)]
Use ConfigParser for now

ConfigParser is included in Python's standard library and ConfigObj doesn't generate git-compatible files anyway.

We'll need a custom parser at some point.

.

14 years agoFix memory leaks in error paths.
Jelmer Vernooij [Sun, 28 Feb 2010 17:46:33 +0000 (18:46 +0100)]
Fix memory leaks in error paths.

14 years agoChange license of dul-web to GPLv2 or later, consistent with the rest of Dulwich...
Jelmer Vernooij [Mon, 1 Mar 2010 19:24:35 +0000 (20:24 +0100)]
Change license of dul-web to GPLv2 or later, consistent with the rest of Dulwich. Thanks to Dave for licensing this as GPLv2+.

14 years agoAdd --pure option to setup.py.
Jelmer Vernooij [Sat, 27 Feb 2010 16:16:29 +0000 (17:16 +0100)]
Add --pure option to setup.py.

14 years agoAdd --pure option to setup.py.
anatoly techtonik [Sat, 27 Feb 2010 15:59:14 +0000 (16:59 +0100)]
Add --pure option to setup.py.

14 years ago * Cope with forward slashes correctly in the index on Windows.
Jelmer Vernooij [Sat, 27 Feb 2010 15:38:30 +0000 (16:38 +0100)]
  * Cope with forward slashes correctly in the index on Windows.
    (Jelmer Vernooij, #526793)

14 years agoChange license to GPLv2 or later rather than just GPLv2 - verified with John.
Jelmer Vernooij [Fri, 26 Feb 2010 15:28:23 +0000 (16:28 +0100)]
Change license to GPLv2 or later rather than just GPLv2 - verified with John.

14 years agorepo: drop nonstandard ConfigObj dependency
Augie Fackler [Wed, 24 Feb 2010 21:11:22 +0000 (15:11 -0600)]
repo: drop nonstandard ConfigObj dependency

14 years agoFix read for ref deltas.
Jelmer Vernooij [Wed, 24 Feb 2010 06:57:32 +0000 (07:57 +0100)]
Fix read for ref deltas.

14 years agoReturn unused data
Jelmer Vernooij [Mon, 15 Feb 2010 01:32:12 +0000 (02:32 +0100)]
Return unused data

14 years agoRemove one-line function, only used in one place.
Jelmer Vernooij [Fri, 12 Feb 2010 20:52:15 +0000 (21:52 +0100)]
Remove one-line function, only used in one place.

14 years agoRemove put_named_file from public API
Jelmer Vernooij [Fri, 12 Feb 2010 20:17:42 +0000 (21:17 +0100)]
Remove put_named_file from public API

14 years agoFix PackData._get_size().
Jelmer Vernooij [Fri, 12 Feb 2010 13:53:49 +0000 (14:53 +0100)]
Fix PackData._get_size().

14 years agoDelay checking size until it's actually used.
Jelmer Vernooij [Fri, 12 Feb 2010 13:47:50 +0000 (14:47 +0100)]
Delay checking size until it's actually used.

14 years agoAdd convenience function for parsing info/refs file.
Jelmer Vernooij [Fri, 12 Feb 2010 13:14:47 +0000 (14:14 +0100)]
Add convenience function for parsing info/refs file.

14 years agoExtend DictRefsContainer.
Jelmer Vernooij [Fri, 12 Feb 2010 12:58:21 +0000 (13:58 +0100)]
Extend DictRefsContainer.